Description

Used in Text's dropShadowSettings property. Configures how dropshadow will appear on a Text component.

Example

// @input Component.Text textComponent

var shadowSettings = script.textComponent.dropshadowSettings;

shadowSettings.enabled = true;
shadowSettings.offset = new vec2(0.15, 0.15);
interface DropshadowSettings {
    enabled: boolean;
    fill: TextFill;
    offset: vec2;
    getTypeName(): string;
    isOfType(type): boolean;
    isSame(other): boolean;
}

Hierarchy (view full)

Properties

enabled: boolean

Description

Whether dropshadow is enabled on the Text.

fill: TextFill

Description

Settings for how the inside of the dropshadow is drawn.

offset: vec2

Description

An (x, y) offset controlling where the dropshadow is drawn relative to the Text.

Methods

  • Returns string

    Description

    Returns the name of this object's type.

  • Parameters

    • type: string

    Returns boolean

    Description

    Returns true if the object matches or derives from the passed in type.

  • Parameters

    Returns boolean

    Description

    Returns true if this object is the same as other. Useful for checking if two references point to the same thing.

Generated using TypeDoc