Package 

Interface LottieProperty


  • 
    public interface LottieProperty
    
                        

    Property values are the same type as the generic type of their corresponding LottieValueCallback. With this, we can use generics to maintain type safety of the callbacks.

    Supported properties: Transform: TRANSFORM_ANCHOR_POINTTRANSFORM_POSITIONTRANSFORM_OPACITYTRANSFORM_SCALETRANSFORM_ROTATIONTRANSFORM_SKEWTRANSFORM_SKEW_ANGLE

    Fill: COLOR (non-gradient) OPACITYCOLOR_FILTER

    Stroke: COLOR (non-gradient) STROKE_WIDTHOPACITYCOLOR_FILTER

    Ellipse: POSITIONELLIPSE_SIZE

    Polystar: POLYSTAR_POINTSPOLYSTAR_ROTATIONPOSITIONPOLYSTAR_INNER_RADIUS (star) POLYSTAR_OUTER_RADIUSPOLYSTAR_INNER_ROUNDEDNESS (star) POLYSTAR_OUTER_ROUNDEDNESS

    Repeater: All transform properties REPEATER_COPIESREPEATER_OFFSETTRANSFORM_ROTATIONTRANSFORM_START_OPACITYTRANSFORM_END_OPACITY

    Layers: All transform properties TIME_REMAP (composition layers only)