DonutConfig

fun DonutConfig(gapAngleAnimationSpec: AnimationSpec<Float>, masterProgressAnimationSpec: AnimationSpec<Float>, gapWidthAnimationSpec: AnimationSpec<Float>, strokeWidthAnimationSpec: AnimationSpec<Float>, backgroundLineColorAnimationSpec: AnimationSpec<Color>, capAnimationSpec: AnimationSpec<Float>, sectionAmountAnimationSpec: AnimationSpec<Float>, sectionColorAnimationSpec: AnimationSpec<Color>)

Parameters

gapAngleAnimationSpec

animation spec for gap angle animation

masterProgressAnimationSpec

animation spec for master progress animation

gapWidthAnimationSpec

animation spec for gap width animation

strokeWidthAnimationSpec

animation spec for stroke width animation

backgroundLineColorAnimationSpec

animation spec for background line color change animation

capAnimationSpec

animation spec for cap animation

sectionAmountAnimationSpec

animation spec for entries progress animations

sectionColorAnimationSpec

animation spec for entries color change animations