GradientStop

GradientStop class

Represents the gradient stop.

new GradientStop()

Methods

NameDescription
deepClone()Creates deep copy of this instance.
getColor()Gets the color of this gradient stop.
getPosition()The position of the stop.
getTransparency()Returns or sets the degree of transparency of the area as a value from 0.0 (opaque) through 1.0 (clear).
setColor()Gets the color of this gradient stop.
setPosition()The position of the stop.
setTransparency()Returns or sets the degree of transparency of the area as a value from 0.0 (opaque) through 1.0 (clear).

deepClone()

Creates deep copy of this instance.

Returns: Object — Object

getColor()

Gets the color of this gradient stop.

getPosition()

The position of the stop.

getTransparency()

Returns or sets the degree of transparency of the area as a value from 0.0 (opaque) through 1.0 (clear).

setColor()

Gets the color of this gradient stop.

setPosition()

The position of the stop.

setTransparency()

Returns or sets the degree of transparency of the area as a value from 0.0 (opaque) through 1.0 (clear).