LinearGradientUsage: {
    enabled: boolean;
    gradient?: LinearGradientDefinition;
    id?: Id;
    startStop: RelativeOffsets;
    type: GradientUsageType;
}

Type declaration

  • enabled: boolean

    Indicates if the gradient will be applied or not.

  • Optionalgradient?: LinearGradientDefinition

    The local color object, can only be used if it is a local color.

  • Optionalid?: Id

    Reference to the brand kit color, can only be used if it is a brand kit color.

  • startStop: RelativeOffsets

    The start and stop positions of the gradient. Relative to the frame size

  • type: GradientUsageType