Interface LayerAlphaProperty

圖層透明度參數。

interface LayerAlphaProperty {
    layername: string;
    easing?: "LINEAR" | "IN_QUAD" | "OUT_QUAD" | "IN_OUT_QUAD" | "IN_CUBIC" | "OUT_CUBIC" | "IN_OUT_CUBIC" | "IN_QUART" | "OUT_QUART" | "IN_OUT_QUART" | "IN_QUINT" | "OUT_QUINT" | "IN_OUT_QUINT";
    opacity?: number;
    tickCount?: number;
}

Hierarchy

Properties

layername: string

圖層名稱。

easing?: "LINEAR" | "IN_QUAD" | "OUT_QUAD" | "IN_OUT_QUAD" | "IN_CUBIC" | "OUT_CUBIC" | "IN_OUT_CUBIC" | "IN_QUART" | "OUT_QUART" | "IN_OUT_QUART" | "IN_QUINT" | "OUT_QUINT" | "IN_OUT_QUINT"

緩動函數。

Default Value

"LINEAR"
opacity?: number

不透明度。

Default Value

1
tickCount?: number

時間(毫秒)。

Default Value

1000

Generated using TypeDoc