Sg 2.9
GradientStop
Packages RSS
About
News
Gallery
Scripts
Tutorials
Download
Reference
Forum
Users
License
Twitter

Constructors

Creates a new GradientStop object.

    Parameters:
  • color: Color — the color of the stop — optional, default: new GrayColor(0)
  • rampPoint: Number — the position of the stop on the gradient ramp — optional, default: 0
  • midPoint: Number — the position where the color of the stop blends equally with the color of the next stop. — optional, default: 0.5

Operators

    Returns:
  • Boolean

Properties

The color of the gradient stop.

The midpoint of the gradient stop describes the position where the color of the stop blends equally with the color of the next gradient stop.

    Returns:
  • Number — the midpoint of the gradient as a value between 0 and 1

The position of the gradient stop on the gradient ramp.

    Returns:
  • Number — a value between 0 and 1

The Gradient that this gradient stop belongs to. Read-only.

The index of the gradient stop in the Gradient it belongs to. Read-only.

    Returns:
  • Number

AltStyle によって変換されたページ (->オリジナル) /