GradientStop
GradientStop
Section titled “GradientStop”app.activeDocument.gradients[index].gradientStops[index]
Description
Section titled “Description”A gradient stop definition that represents a point on a specific gradient defined in the document. Each gradient stop specifies a color change in the containing gradient.
See Changing a gradient stop color for an example.
Properties
Section titled “Properties”GradientStop.color
Section titled “GradientStop.color”app.activeDocument.gradients[index].gradientStops[index].color
Description
Section titled “Description”The color linked to this gradient stop.
GradientStop.midPoint
Section titled “GradientStop.midPoint”app.activeDocument.gradients[index].gradientStops[index].midPoint
Description
Section titled “Description”The midpoint key value, specified as a percentage from 13.0 to 87.0.
Number (double).
GradientStop.opacity
Section titled “GradientStop.opacity”app.activeDocument.gradients[index].gradientStops[index].opacity
Description
Section titled “Description”The opacity value for the gradient stop.
Range: 0.0 to 100.0
Number (double).
GradientStop.parent
Section titled “GradientStop.parent”app.activeDocument.gradients[index].gradientStops[index].parent
Description
Section titled “Description”The gradient that contains this gradient stop.
Gradient; read-only.
GradientStop.rampPoint
Section titled “GradientStop.rampPoint”app.activeDocument.gradients[index].gradientStops[index].rampPoint
Description
Section titled “Description”The location of the color in the blend in a range from 0.0 to 100.0, where 100.0 is 100%.
Number (double).
GradientStop.typename
Section titled “GradientStop.typename”app.activeDocument.gradients[index].gradientStops[index].typename
Description
Section titled “Description”The class name of the referenced object.
String; read-only.
Methods
Section titled “Methods”GradientStop.remove()
Section titled “GradientStop.remove()”app.activeDocument.gradients[index].gradientStops[index].remove()
Description
Section titled “Description”Deletes this object.
Returns
Section titled “Returns”Nothing.