Package 

Class DonutConfig


  • 
    public final class DonutConfig
    
                        

    Configuration class for DonutProgress animations.

    • Constructor Detail

      • DonutConfig

        DonutConfig(AnimationSpec<Float> gapAngleAnimationSpec, AnimationSpec<Float> masterProgressAnimationSpec, AnimationSpec<Float> gapWidthAnimationSpec, AnimationSpec<Float> strokeWidthAnimationSpec, AnimationSpec<Color> backgroundLineColorAnimationSpec, AnimationSpec<Float> capAnimationSpec, AnimationSpec<Float> sectionAmountAnimationSpec, AnimationSpec<Color> sectionColorAnimationSpec)
        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