Class LottieClip

Hierarchy (view full)

Constructors

Properties

animationController: __class<Sprite, ClipStyle<Sprite>>
id: string
sprite: Sprite
state: ClipState

Methods

  • Returns {
        animationController?: {
            animationDataIn?: {
                amplification?: number;
                inOutOfRange: OutOfRangeEnum;
                name: string;
                offset?: number;
                outOutOfRange: OutOfRangeEnum;
                propertyAnimations: {
                    inOutOfRange: OutOfRangeEnum;
                    keyframes: {
                        easing: EasingEnum;
                        relativeProperty?: string;
                        space: AnimationSpaceEnum;
                        time: number;
                        value: string | number;
                    }[];
                    outOutOfRange: OutOfRangeEnum;
                    property: string;
                }[];
                speed?: number;
            };
            animationDataLoop?: {
                amplification?: number;
                inOutOfRange: OutOfRangeEnum;
                name: string;
                offset?: number;
                outOutOfRange: OutOfRangeEnum;
                propertyAnimations: {
                    inOutOfRange: OutOfRangeEnum;
                    keyframes: {
                        easing: EasingEnum;
                        relativeProperty?: string;
                        space: AnimationSpaceEnum;
                        time: number;
                        value: string | number;
                    }[];
                    outOutOfRange: OutOfRangeEnum;
                    property: string;
                }[];
                speed?: number;
            };
            animationDataOut?: {
                amplification?: number;
                inOutOfRange: OutOfRangeEnum;
                name: string;
                offset?: number;
                outOutOfRange: OutOfRangeEnum;
                propertyAnimations: {
                    inOutOfRange: OutOfRangeEnum;
                    keyframes: {
                        easing: EasingEnum;
                        relativeProperty?: string;
                        space: AnimationSpaceEnum;
                        time: number;
                        value: string | number;
                    }[];
                    outOutOfRange: OutOfRangeEnum;
                    property: string;
                }[];
                speed?: number;
            };
            animationInDuration?: number;
            animationLoopCount?: number;
            animationOutDuration?: number;
            loopSmoothing?: number;
        };
        assetsUrl?: string;
        customData?: [string, unknown][];
        dataUrl: string;
        duration: number;
        effects: unknown[];
        filters: {
            id: string;
            options: {
                lutUrl: string;
            };
            sourceId: string;
        }[];
        id: string;
        leftTrim: number;
        mediaDataId?: string;
        propertiesUrl?: string;
        rightTrim: number;
        startTime: number;
        style?: unknown;
        subtitlesId?: string;
        subtitlesOffset: number;
        text?: string;
        type: string;
        warpMode: WarpModeEnum;
    }

    • Optional animationController?: {
          animationDataIn?: {
              amplification?: number;
              inOutOfRange: OutOfRangeEnum;
              name: string;
              offset?: number;
              outOutOfRange: OutOfRangeEnum;
              propertyAnimations: {
                  inOutOfRange: OutOfRangeEnum;
                  keyframes: {
                      easing: EasingEnum;
                      relativeProperty?: string;
                      space: AnimationSpaceEnum;
                      time: number;
                      value: string | number;
                  }[];
                  outOutOfRange: OutOfRangeEnum;
                  property: string;
              }[];
              speed?: number;
          };
          animationDataLoop?: {
              amplification?: number;
              inOutOfRange: OutOfRangeEnum;
              name: string;
              offset?: number;
              outOutOfRange: OutOfRangeEnum;
              propertyAnimations: {
                  inOutOfRange: OutOfRangeEnum;
                  keyframes: {
                      easing: EasingEnum;
                      relativeProperty?: string;
                      space: AnimationSpaceEnum;
                      time: number;
                      value: string | number;
                  }[];
                  outOutOfRange: OutOfRangeEnum;
                  property: string;
              }[];
              speed?: number;
          };
          animationDataOut?: {
              amplification?: number;
              inOutOfRange: OutOfRangeEnum;
              name: string;
              offset?: number;
              outOutOfRange: OutOfRangeEnum;
              propertyAnimations: {
                  inOutOfRange: OutOfRangeEnum;
                  keyframes: {
                      easing: EasingEnum;
                      relativeProperty?: string;
                      space: AnimationSpaceEnum;
                      time: number;
                      value: string | number;
                  }[];
                  outOutOfRange: OutOfRangeEnum;
                  property: string;
              }[];
              speed?: number;
          };
          animationInDuration?: number;
          animationLoopCount?: number;
          animationOutDuration?: number;
          loopSmoothing?: number;
      }
      • Optional animationDataIn?: {
            amplification?: number;
            inOutOfRange: OutOfRangeEnum;
            name: string;
            offset?: number;
            outOutOfRange: OutOfRangeEnum;
            propertyAnimations: {
                inOutOfRange: OutOfRangeEnum;
                keyframes: {
                    easing: EasingEnum;
                    relativeProperty?: string;
                    space: AnimationSpaceEnum;
                    time: number;
                    value: string | number;
                }[];
                outOutOfRange: OutOfRangeEnum;
                property: string;
            }[];
            speed?: number;
        }
        • Optional amplification?: number
        • inOutOfRange: OutOfRangeEnum
        • name: string
        • Optional offset?: number
        • outOutOfRange: OutOfRangeEnum
        • propertyAnimations: {
              inOutOfRange: OutOfRangeEnum;
              keyframes: {
                  easing: EasingEnum;
                  relativeProperty?: string;
                  space: AnimationSpaceEnum;
                  time: number;
                  value: string | number;
              }[];
              outOutOfRange: OutOfRangeEnum;
              property: string;
          }[]
        • Optional speed?: number
      • Optional animationDataLoop?: {
            amplification?: number;
            inOutOfRange: OutOfRangeEnum;
            name: string;
            offset?: number;
            outOutOfRange: OutOfRangeEnum;
            propertyAnimations: {
                inOutOfRange: OutOfRangeEnum;
                keyframes: {
                    easing: EasingEnum;
                    relativeProperty?: string;
                    space: AnimationSpaceEnum;
                    time: number;
                    value: string | number;
                }[];
                outOutOfRange: OutOfRangeEnum;
                property: string;
            }[];
            speed?: number;
        }
        • Optional amplification?: number
        • inOutOfRange: OutOfRangeEnum
        • name: string
        • Optional offset?: number
        • outOutOfRange: OutOfRangeEnum
        • propertyAnimations: {
              inOutOfRange: OutOfRangeEnum;
              keyframes: {
                  easing: EasingEnum;
                  relativeProperty?: string;
                  space: AnimationSpaceEnum;
                  time: number;
                  value: string | number;
              }[];
              outOutOfRange: OutOfRangeEnum;
              property: string;
          }[]
        • Optional speed?: number
      • Optional animationDataOut?: {
            amplification?: number;
            inOutOfRange: OutOfRangeEnum;
            name: string;
            offset?: number;
            outOutOfRange: OutOfRangeEnum;
            propertyAnimations: {
                inOutOfRange: OutOfRangeEnum;
                keyframes: {
                    easing: EasingEnum;
                    relativeProperty?: string;
                    space: AnimationSpaceEnum;
                    time: number;
                    value: string | number;
                }[];
                outOutOfRange: OutOfRangeEnum;
                property: string;
            }[];
            speed?: number;
        }
        • Optional amplification?: number
        • inOutOfRange: OutOfRangeEnum
        • name: string
        • Optional offset?: number
        • outOutOfRange: OutOfRangeEnum
        • propertyAnimations: {
              inOutOfRange: OutOfRangeEnum;
              keyframes: {
                  easing: EasingEnum;
                  relativeProperty?: string;
                  space: AnimationSpaceEnum;
                  time: number;
                  value: string | number;
              }[];
              outOutOfRange: OutOfRangeEnum;
              property: string;
          }[]
        • Optional speed?: number
      • Optional animationInDuration?: number
      • Optional animationLoopCount?: number
      • Optional animationOutDuration?: number
      • Optional loopSmoothing?: number
    • Optional assetsUrl?: string
    • Optional customData?: [string, unknown][]
    • dataUrl: string
    • duration: number
    • effects: unknown[]
    • filters: {
          id: string;
          options: {
              lutUrl: string;
          };
          sourceId: string;
      }[]
    • id: string
    • leftTrim: number
    • Optional mediaDataId?: string
    • Optional propertiesUrl?: string
    • rightTrim: number
    • startTime: number
    • Optional style?: unknown
    • Optional subtitlesId?: string
    • subtitlesOffset: number
    • Optional text?: string
    • type: string
    • warpMode: WarpModeEnum

Generated using TypeDoc