GradientStop

A gradient stop in a gradient.

Methods:

remove

Objects:

Color, Number, Object

Property Listing

Property

Type

Access

Description

index

Number

readonly

The index of the GradientStop within its containing object.

location

Number

read/write

The location of the gradient stop.

midpoint

Number

read/write

The mid-point of the gradient stop.

parent

Gradient

readonly

The parent of the GradientStop (a Gradient).

properties

Object

read/write

A property that allows setting of several properties at the same time.

stopColor

Color

read/write

The color of the gradient stop.

Method Listing

undefined remove ()

Deletes the GradientStop.

Return

GradientStops.add()