Satin effect settings.
Go to Property Listing | Method Listing
toSource, getElements, toSpecifier, addEventListener, removeEventListener
BlendMode, Boolean, ContentTransparencySetting, EventListeners, Events, FillTransparencySetting, Number, Object, String, StrokeTransparencySetting, Swatch, TransparencySetting,
|
Property |
Type |
Access |
Description |
|---|---|---|---|
|
angle |
Number (range -180 - 180) |
read/write |
The light angle of the satin effect. (Range: -360 to 360) |
|
applied |
read/write |
If true, applies the satin effect. |
|
|
blendMode |
BlendMode.NORMAL BlendMode.MULTIPLY BlendMode.SCREEN BlendMode.OVERLAY BlendMode.SOFT_LIGHT BlendMode.HARD_LIGHT BlendMode.COLOR_DODGE BlendMode.COLOR_BURN BlendMode.DARKEN BlendMode.LIGHTEN BlendMode.DIFFERENCE BlendMode.EXCLUSION BlendMode.HUE BlendMode.SATURATION BlendMode.COLOR BlendMode.LUMINOSITY |
read/write |
The blending mode for the satin effect. |
|
distance |
read/write |
The distance (in pixels) from the SatinSetting to the satin effect. |
|
|
effectColor |
read/write |
The color applied to the satin effect, specified as a swatch (color, gradient, tint, or mixed ink), a color library color, a hex value, or as an array of color values. The color mode dictates the array values: for RGB, specify three values, each in the range 0 to 255, in the format [R,G,B]; for CMYK, specify four values, each as a percentage and each in the range 0 to 100, in the format [C,M,Y,K]; for LAB, specify three values in the format [L,A,B], with L in the range 0 to 100 and A and B in the range -128 to 127; for HSB, specify three colors in the format [H,S,B], with H in the range 0 to 360 and S and B as percentages in the range 0 to 100. |
|
|
eventListeners |
readonly |
A collection of event listeners. |
|
|
events |
readonly |
A collection of events. |
|
|
invertEffect |
read/write |
If true, inverts the satin effect. |
|
|
isValid |
readonly |
Returns true if the object specifier resolves to valid objects. |
|
|
opacity |
Number (range 0 - 100) |
read/write |
The opacity of the satin effect (as a percentage). (Range: 0 to 100) |
|
parent |
readonly |
The parent of the SatinSetting (a TransparencySetting, StrokeTransparencySetting, FillTransparencySetting or ContentTransparencySetting). |
|
|
properties |
read/write |
A property that allows setting of several properties at the same time. |
|
|
size |
read/write |
The width (in pixels) of the satin effect. |
EventListener addEventListener (eventType:String, handler:Varies, [captures:Boolean=Boolean])
Adds an event listener.
|
Parameter |
Type |
Description |
|---|---|---|
|
eventType |
The event type. |
|
|
handler |
Varies |
The event handler. Can accept: File or JavaScript Function. |
|
captures |
This parameter is obsolete. (Optional) (default: false) |
SatinSetting getElements ()
Resolves the object specifier, creating an array of object references.
Boolean removeEventListener (eventType:String, handler:Varies, [captures:Boolean=Boolean])
Removes the event listener.
|
Parameter |
Type |
Description |
|---|---|---|
|
eventType |
The registered event type. |
|
|
handler |
Varies |
The registered event handler. Can accept: File or JavaScript Function. |
|
captures |
This parameter is obsolete. (Optional) (default: false) |
String toSource ()
Generates a string which, if executed, will return the SatinSetting.
String toSpecifier ()
Retrieves the object specifier.
TransparencySetting.satinSettings
StrokeTransparencySetting.satinSettings
FillTransparencySetting.satinSettings
ContentTransparencySetting.satinSettings
Event.parent
EventListener.parent
MutationEvent.parent