GradientStop
GradientStop
Section titled “GradientStop”app.activeDocument.gradients[index].gradientStops[index]
渐变停止点定义,表示文档中定义的特定渐变上的一个点。每个渐变停止点指定包含渐变中的颜色变化。
有关示例,请参阅更改渐变停止点颜色。
GradientStop.color
Section titled “GradientStop.color”app.activeDocument.gradients[index].gradientStops[index].color
与此渐变停止点关联的颜色。
GradientStop.midPoint
Section titled “GradientStop.midPoint”app.activeDocument.gradients[index].gradientStops[index].midPoint
中点键值,以百分比形式指定,范围为13.0到87.0。
数字(双精度)。
GradientStop.opacity
Section titled “GradientStop.opacity”app.activeDocument.gradients[index].gradientStops[index].opacity
渐变停止点的不透明度值。
范围:0.0到100.0
数字(双精度)。
GradientStop.parent
Section titled “GradientStop.parent”app.activeDocument.gradients[index].gradientStops[index].parent
包含此渐变停止点的渐变。
渐变; 只读。
GradientStop.rampPoint
Section titled “GradientStop.rampPoint”app.activeDocument.gradients[index].gradientStops[index].rampPoint
颜色在混合中的位置,范围为0.0到100.0,其中100.0表示100%。
数字(双精度)。
GradientStop.typename
Section titled “GradientStop.typename”app.activeDocument.gradients[index].gradientStops[index].typename
引用对象的类名。
字符串; 只读。
GradientStop.remove()
Section titled “GradientStop.remove()”app.activeDocument.gradients[index].gradientStops[index].remove()
删除此对象。
无。