Donut Config
data class 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>)
Content copied to clipboard
Configuration class for DonutProgress animations.
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
Constructors
DonutConfig
Link copied to clipboard
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>)
Content copied to clipboard
animation spec for gap angle animation
Types
Functions
component1
Link copied to clipboard
component2
Link copied to clipboard
component3
Link copied to clipboard
component4
Link copied to clipboard
component5
Link copied to clipboard
component6
Link copied to clipboard
component7
Link copied to clipboard
component8
Link copied to clipboard
copy
Link copied to clipboard
fun copy(gapAngleAnimationSpec: AnimationSpec<Float>, masterProgressAnimationSpec: AnimationSpec<Float>, gapWidthAnimationSpec: AnimationSpec<Float>, strokeWidthAnimationSpec: AnimationSpec<Float>, backgroundLineColorAnimationSpec: AnimationSpec<Color>, capAnimationSpec: AnimationSpec<Float>, sectionAmountAnimationSpec: AnimationSpec<Float>, sectionColorAnimationSpec: AnimationSpec<Color>): DonutConfig
Content copied to clipboard
copyWithColorAnimationsSpec
Link copied to clipboard
fun copyWithColorAnimationsSpec(animationSpec: AnimationSpec<Color>): DonutConfig
Content copied to clipboard
copyWithLayoutAnimationsSpec
Link copied to clipboard
fun copyWithLayoutAnimationsSpec(animationSpec: AnimationSpec<Float>): DonutConfig
Content copied to clipboard
Properties
backgroundLineColorAnimationSpec
Link copied to clipboard
capAnimationSpec
Link copied to clipboard
gapAngleAnimationSpec
Link copied to clipboard
gapWidthAnimationSpec
Link copied to clipboard
masterProgressAnimationSpec
Link copied to clipboard
sectionAmountAnimationSpec
Link copied to clipboard
sectionColorAnimationSpec
Link copied to clipboard
strokeWidthAnimationSpec
Link copied to clipboard