DonutConfig

fun DonutConfig(isGapAngleAnimationEnabled: Boolean = true, gapAngleAnimationBuilder: AnimationBuilder<Float> = getDefaultFloatAnimationBuilder(), isMasterProgressAnimationEnabled: Boolean = true, masterProgressAnimationBuilder: AnimationBuilder<Float> = getDefaultFloatAnimationBuilder(), isGapWidthAnimationEnabled: Boolean = true, gapWidthAnimationBuilder: AnimationBuilder<Float> = getDefaultFloatAnimationBuilder(), isStrokeWidthAnimationEnabled: Boolean = true, strokeWidthAnimationBuilder: AnimationBuilder<Float> = getDefaultFloatAnimationBuilder(), isBackgroundLineColorAnimationEnabled: Boolean = true, backgroundLineColorAnimationBuilder: AnimationBuilder<Color> = getDefaultColorAnimationBuilder(), isCapAnimationEnabled: Boolean = true, capAnimationBuilder: AnimationBuilder<Float> = getDefaultFloatAnimationBuilder(), isSectionAmountAnimationEnabled: Boolean = true, sectionAmountAnimationBuilder: AnimationBuilder<Float> = getDefaultFloatAnimationBuilder(), isSectionColorAnimationEnabled: Boolean = true, sectionColorAnimationBuilder: AnimationBuilder<Color> = getDefaultColorAnimationBuilder())

Parameters

isGapAngleAnimationEnabled

enabled or disable gap angle animation

gapAngleAnimationBuilder

animation builder for gap angle animation

isMasterProgressAnimationEnabled

enabled or disable master progress animation

masterProgressAnimationBuilder

animation builder for master progress animation

isGapWidthAnimationEnabled

enabled or disable gap width animation

gapWidthAnimationBuilder

animation builder for gap width animation

isStrokeWidthAnimationEnabled

enabled or disable stroke width animation

strokeWidthAnimationBuilder

animation builder for stroke width animation

isBackgroundLineColorAnimationEnabled

enabled or disable background line color change animation

backgroundLineColorAnimationBuilder

animation builder for background line color change animation

isCapAnimationEnabled

enabled or disable cap animation

capAnimationBuilder

animation builder for cap animation

isSectionAmountAnimationEnabled

enabled or disable entries progress animations

sectionAmountAnimationBuilder

animation builder for entries progress animations

isSectionColorAnimationEnabled

enabled or disable entries color change animations

sectionColorAnimationBuilder

animation builder for entries color change animations