Package | com.adobe.indesign |
Class | public class DropShadowSetting |
Inheritance | DropShadowSetting ![]() ![]() ![]() |
Subclasses | FindChangeDropShadowSetting |
Since : | CS5 |
Property | Defined By | ||
---|---|---|---|
angle : Number
The angle at which the shadow is thrown
| DropShadowSetting | ||
blendMode : BlendMode
The blending mode for the drop shadow effect. | DropShadowSetting | ||
distance : Object
The distance between the item and its shadow
| DropShadowSetting | ||
effectColor : Swatch
The color applied to the drop shadow, specified as a swatch (color, gradient, tint, or mixed ink), or as an array of color values. | DropShadowSetting | ||
eventListeners : EventListeners [override] [read-only]
A collection of event listeners. | DropShadowSetting | ||
events : Events [override] [read-only]
A collection of events. | DropShadowSetting | ||
honorOtherEffects : Boolean
If true, the drop shadow will take into account other non-shadow effects. | DropShadowSetting | ||
![]() | hostObjectDelegate : HostObject Getter for the delegate | CSHostObject | |
isValid : Boolean [override] [read-only]
Returns true if the object specifier resolves to valid objects. | DropShadowSetting | ||
knockedOut : Boolean
If true, the layer will knock out the drop shadow. | DropShadowSetting | ||
mode : ShadowMode
The shadow mode. | DropShadowSetting | ||
noise : Number
The amount (as a percentage) of noise applied to the shadow. | DropShadowSetting | ||
opacity : Number
The opacity of the drop shadow (as a percentage). | DropShadowSetting | ||
parent : Object [override] [read-only]
The parent of the DropShadowSetting (a TransparencySetting, StrokeTransparencySetting, FillTransparencySetting or ContentTransparencySetting). | DropShadowSetting | ||
properties : Object [override]
A property that allows setting of several properties at the same time. | DropShadowSetting | ||
size : Object
The radius (in pixels) of the blur applied to the drop shadow. | DropShadowSetting | ||
spread : Number
The amount (as a percentage of the blur width) to spread the footprint of the drop shadow and reduce the radius of the blur. | DropShadowSetting | ||
useGlobalLight : Boolean
If true, uses the global light angle. | DropShadowSetting | ||
xOffset : Object
The horizontal offset of the drop shadow. | DropShadowSetting | ||
yOffset : Object
The vertical offset of the drop shadow. | DropShadowSetting |
Method | Defined By | ||
---|---|---|---|
addEventListenerDropShadowSetting(eventTypeParam:String = null, handlerParam:Object = null, capturesParam:Boolean = false):EventListener
Adds an event listener. | DropShadowSetting | ||
![]() | addEventListenerPreference(eventTypeParam:String = null, handlerParam:Object = null, capturesParam:Boolean = false):EventListener
Adds an event listener. | Preference | |
![]() | filterArgsForHBAPI(args:Array):Array [static]
Function to clean up the argument list and put it into a format that
makes sense for HBAPI. | CSHostObject | |
![]() | filterSingleObjectForHBAPI(value:Object):Object [static]
| CSHostObject | |
![]() | getClassObjectForName(className:String):HostObject [static] This returns a "Class" object, meaning, a HostObject that can be used
to make static function calls or get static properties
| CSHostObject | |
getElements():Object [override]
Resolves the object specifier, creating an array of object references. | DropShadowSetting | ||
![]() | getSpecialTranslation(className:String, ho:HostObject, expectedReturnType:Class, ownerName:String):* [static] | CSHostObject | |
![]() | hostCall(name:String, expectedReturnType:Class, rawargs:Array):*
Encapsulates a function call to the host
| CSHostObject | |
![]() | hostCallStatic(className:String, methodName:String, expectedReturnType:Class, rawargs:Array):* [static]
Implements a safe call of a static method on the host
| CSHostObject | |
![]() | hostGet(name:String, expectedReturnType:Class):*
Encapsulates a property get to the host
| CSHostObject | |
![]() | hostGetIndex(idx:Object, expectedReturnType:Class):*
Encapsulates a indexed get to the host
| CSHostObject | |
![]() | hostGetStatic(className:String, propertyName:String, expectedReturnType:Class):* [static]
Implements a safe get of a static property on the host
Used by for instance, all the enum implementations. | CSHostObject | |
![]() | hostSet(name:String, rawvalue:*):void
Encapsulates a property set to the host
| CSHostObject | |
![]() | hostSetStatic(className:String, propertyName:String, rawvalue:*):* [static]
Implements a safe set of a static property on the host
| CSHostObject | |
![]() | isDescendedFrom(clz:Class, ancClass:Class):Boolean [static] Efficiently determines whether or not one class descends from
another in inheritance hierarchy- class relationships are cached
by the ClassUtils implementation-
(uses org.as3commons lib to quickly discover class hierarchy. | CSHostObject | |
removeEventListenerDropShadowSetting(eventTypeParam:String = null, handlerParam:Object = null, capturesParam:Boolean = false):Boolean
Removes the event listener. | DropShadowSetting | ||
![]() | removeEventListenerPreference(eventTypeParam:String = null, handlerParam:Object = null, capturesParam:Boolean = false):Boolean
Removes the event listener. | Preference | |
![]() | replaceDefaultArgs(args:Array, defaultArgs:Array):Array
Function to tidy up arguments prior to call. | CSHostObject | |
toSpecifier():String [override]
Retrieves the object specifier. | DropShadowSetting | ||
![]() | wrapReturnedHostObject(rawObject:Object, expectedReturnType:Class, client:CSHostObject, propertyName:String):* [static]
Method used on static/normal get/ hostcalls
| CSHostObject |
angle | property |
angle:Number
Since : | CS5 |
The angle at which the shadow is thrown
public function get angle():Number
public function set angle(value:Number):void
blendMode | property |
blendMode:BlendMode
Since : | CS5 |
The blending mode for the drop shadow effect.
public function get blendMode():BlendMode
public function set blendMode(value:BlendMode):void
distance | property |
distance:Object
Since : | CS5 |
The distance between the item and its shadow
public function get distance():Object
public function set distance(value:Object):void
effectColor | property |
effectColor:Swatch
Since : | CS5 |
The color applied to the drop shadow, specified as a swatch (color, gradient, tint, or mixed ink), 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.
public function get effectColor():Swatch
public function set effectColor(value:Swatch):void
eventListeners | property |
eventListeners:EventListeners
[read-only] [override] Since : | CS5 |
A collection of event listeners.
public function get eventListeners():EventListeners
events | property |
events:Events
[read-only] [override] Since : | CS5 |
A collection of events.
public function get events():Events
honorOtherEffects | property |
honorOtherEffects:Boolean
Since : | CS5 |
If true, the drop shadow will take into account other non-shadow effects.
public function get honorOtherEffects():Boolean
public function set honorOtherEffects(value:Boolean):void
isValid | property |
isValid:Boolean
[read-only] [override] Since : | CS5 |
Returns true if the object specifier resolves to valid objects.
public function get isValid():Boolean
knockedOut | property |
knockedOut:Boolean
Since : | CS5 |
If true, the layer will knock out the drop shadow.
public function get knockedOut():Boolean
public function set knockedOut(value:Boolean):void
mode | property |
mode:ShadowMode
Since : | CS5 |
The shadow mode.
public function get mode():ShadowMode
public function set mode(value:ShadowMode):void
noise | property |
noise:Number
Since : | CS5 |
The amount (as a percentage) of noise applied to the shadow. (Range: 0 to 100)
public function get noise():Number
public function set noise(value:Number):void
opacity | property |
opacity:Number
Since : | CS5 |
The opacity of the drop shadow (as a percentage). (Range: 0 to 100)
public function get opacity():Number
public function set opacity(value:Number):void
parent | property |
parent:Object
[read-only] [override] Since : | CS5 |
The parent of the DropShadowSetting (a TransparencySetting, StrokeTransparencySetting, FillTransparencySetting or ContentTransparencySetting).
public function get parent():Object
properties | property |
properties:Object
[override] Since : | CS5 |
A property that allows setting of several properties at the same time.
public function get properties():Object
public function set properties(value:Object):void
size | property |
size:Object
Since : | CS5 |
The radius (in pixels) of the blur applied to the drop shadow. (Range depends on the unit type. For points: 0 to 144; for picas: 0p0 to 12p0; for inches: 0 to 2; for mm: 0 to 50.08; for cm: 0 to 5.08; for ciceros: 0c0 to 11c3.128.)
public function get size():Object
public function set size(value:Object):void
spread | property |
spread:Number
Since : | CS5 |
The amount (as a percentage of the blur width) to spread the footprint of the drop shadow and reduce the radius of the blur. (Range: 0 to 100)
public function get spread():Number
public function set spread(value:Number):void
useGlobalLight | property |
useGlobalLight:Boolean
Since : | CS5 |
If true, uses the global light angle.
public function get useGlobalLight():Boolean
public function set useGlobalLight(value:Boolean):void
xOffset | property |
xOffset:Object
Since : | CS5 |
The horizontal offset of the drop shadow. Range depends on the unit type. For points: -1000 to 1000; for picas: -83p4 to 83p4; for inches: -13.8889 to 13.8889; for mm: -352.778 to 352.778; for cm: -35.277 to 35.277; for ciceros: -78c2.389 to 78c2.389.
public function get xOffset():Object
public function set xOffset(value:Object):void
yOffset | property |
yOffset:Object
Since : | CS5 |
The vertical offset of the drop shadow. (Range depends on the unit type. For points: -1000 to 1000; for picas: -83p4 to 83p4; for inches: -13.8889 to 13.8889; for mm: -352.778 to 352.778; for cm: -35.277 to 35.277; for ciceros: -78c2.389 to 78c2.389)
public function get yOffset():Object
public function set yOffset(value:Object):void
addEventListenerDropShadowSetting | () | method |
public function addEventListenerDropShadowSetting(eventTypeParam:String = null, handlerParam:Object = null, capturesParam:Boolean = false):EventListener
Since : | CS5 |
Adds an event listener.
Parameters
eventTypeParam:String (default = null ) — (String) The event type.
| |
handlerParam:Object (default = null ) — (Object) The event handler. Can accept: File or JavaScript Function.
| |
capturesParam:Boolean (default = false ) — (Boolean) This parameter is obsolete. (Optional)
|
EventListener |
getElements | () | method |
override public function getElements():Object
Since : | CS5 |
Resolves the object specifier, creating an array of object references.
ReturnsObject |
removeEventListenerDropShadowSetting | () | method |
public function removeEventListenerDropShadowSetting(eventTypeParam:String = null, handlerParam:Object = null, capturesParam:Boolean = false):Boolean
Since : | CS5 |
Removes the event listener.
Parameters
eventTypeParam:String (default = null ) — (String) The registered event type.
| |
handlerParam:Object (default = null ) — (Object) The registered event handler. Can accept: File or JavaScript Function.
| |
capturesParam:Boolean (default = false ) — (Boolean) This parameter is obsolete. (Optional)
|
Boolean |
toSpecifier | () | method |
override public function toSpecifier():String
Since : | CS5 |
Retrieves the object specifier.
ReturnsString |