Packagecom.adobe.indesign
Classpublic class DropShadowSetting
InheritanceDropShadowSetting Inheritance Preference Inheritance CSHostObject Inheritance flash.utils.Proxy
Subclasses FindChangeDropShadowSetting

Preference



Public Properties
 PropertyDefined 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
 InheritedhostObjectDelegate : 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
Public Methods
 MethodDefined By
  
addEventListenerDropShadowSetting(eventTypeParam:String = null, handlerParam:Object = null, capturesParam:Boolean = false):EventListener
Adds an event listener.
DropShadowSetting
 Inherited
addEventListenerPreference(eventTypeParam:String = null, handlerParam:Object = null, capturesParam:Boolean = false):EventListener
Adds an event listener.
Preference
 Inherited
filterArgsForHBAPI(args:Array):Array
[static] Function to clean up the argument list and put it into a format that makes sense for HBAPI.
CSHostObject
 Inherited
filterSingleObjectForHBAPI(value:Object):Object
[static]
CSHostObject
 Inherited
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
 Inherited
getSpecialTranslation(className:String, ho:HostObject, expectedReturnType:Class, ownerName:String):*
[static]
CSHostObject
 Inherited
hostCall(name:String, expectedReturnType:Class, rawargs:Array):*
Encapsulates a function call to the host
CSHostObject
 Inherited
hostCallStatic(className:String, methodName:String, expectedReturnType:Class, rawargs:Array):*
[static] Implements a safe call of a static method on the host
CSHostObject
 Inherited
hostGet(name:String, expectedReturnType:Class):*
Encapsulates a property get to the host
CSHostObject
 Inherited
hostGetIndex(idx:Object, expectedReturnType:Class):*
Encapsulates a indexed get to the host
CSHostObject
 Inherited
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
 Inherited
hostSet(name:String, rawvalue:*):void
Encapsulates a property set to the host
CSHostObject
 Inherited
hostSetStatic(className:String, propertyName:String, rawvalue:*):*
[static] Implements a safe set of a static property on the host
CSHostObject
 Inherited
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
 Inherited
removeEventListenerPreference(eventTypeParam:String = null, handlerParam:Object = null, capturesParam:Boolean = false):Boolean
Removes the event listener.
Preference
 Inherited
replaceDefaultArgs(args:Array, defaultArgs:Array):Array
Function to tidy up arguments prior to call.
CSHostObject
  
toSpecifier():String
[override] Retrieves the object specifier.
DropShadowSetting
 Inherited
wrapReturnedHostObject(rawObject:Object, expectedReturnType:Class, client:CSHostObject, propertyName:String):*
[static] Method used on static/normal get/ hostcalls
CSHostObject
Protected Methods
 MethodDefined By
 Inherited
createWithArgs(args:Array):void
CSHostObject
 Inherited
hostCreate(args:Array):void
CSHostObject
Property Detail
angleproperty
angle:Number

The angle at which the shadow is thrown


Implementation
    public function get angle():Number
    public function set angle(value:Number):void
blendModeproperty 
blendMode:BlendMode

The blending mode for the drop shadow effect.


Implementation
    public function get blendMode():BlendMode
    public function set blendMode(value:BlendMode):void
distanceproperty 
distance:Object

The distance between the item and its shadow


Implementation
    public function get distance():Object
    public function set distance(value:Object):void
effectColorproperty 
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. 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.


Implementation
    public function get effectColor():Swatch
    public function set effectColor(value:Swatch):void
eventListenersproperty 
eventListeners:EventListeners  [read-only] [override]

A collection of event listeners.


Implementation
    public function get eventListeners():EventListeners
eventsproperty 
events:Events  [read-only] [override]

A collection of events.


Implementation
    public function get events():Events
honorOtherEffectsproperty 
honorOtherEffects:Boolean

If true, the drop shadow will take into account other non-shadow effects.


Implementation
    public function get honorOtherEffects():Boolean
    public function set honorOtherEffects(value:Boolean):void
isValidproperty 
isValid:Boolean  [read-only] [override]

Returns true if the object specifier resolves to valid objects.


Implementation
    public function get isValid():Boolean
knockedOutproperty 
knockedOut:Boolean

If true, the layer will knock out the drop shadow.


Implementation
    public function get knockedOut():Boolean
    public function set knockedOut(value:Boolean):void
modeproperty 
mode:ShadowMode

The shadow mode.


Implementation
    public function get mode():ShadowMode
    public function set mode(value:ShadowMode):void
noiseproperty 
noise:Number

The amount (as a percentage) of noise applied to the shadow. (Range: 0 to 100)


Implementation
    public function get noise():Number
    public function set noise(value:Number):void
opacityproperty 
opacity:Number

The opacity of the drop shadow (as a percentage). (Range: 0 to 100)


Implementation
    public function get opacity():Number
    public function set opacity(value:Number):void
parentproperty 
parent:Object  [read-only] [override]

The parent of the DropShadowSetting (a TransparencySetting, StrokeTransparencySetting, FillTransparencySetting or ContentTransparencySetting).


Implementation
    public function get parent():Object
propertiesproperty 
properties:Object[override]

A property that allows setting of several properties at the same time.


Implementation
    public function get properties():Object
    public function set properties(value:Object):void
sizeproperty 
size:Object

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.)


Implementation
    public function get size():Object
    public function set size(value:Object):void
spreadproperty 
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. (Range: 0 to 100)


Implementation
    public function get spread():Number
    public function set spread(value:Number):void
useGlobalLightproperty 
useGlobalLight:Boolean

If true, uses the global light angle.


Implementation
    public function get useGlobalLight():Boolean
    public function set useGlobalLight(value:Boolean):void
xOffsetproperty 
xOffset:Object

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.


Implementation
    public function get xOffset():Object
    public function set xOffset(value:Object):void
yOffsetproperty 
yOffset:Object

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)


Implementation
    public function get yOffset():Object
    public function set yOffset(value:Object):void
Method Detail
addEventListenerDropShadowSetting()method
public function addEventListenerDropShadowSetting(eventTypeParam:String = null, handlerParam:Object = null, capturesParam:Boolean = false):EventListener

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)

Returns
EventListener
getElements()method 
override public function getElements():Object

Resolves the object specifier, creating an array of object references.

Returns
Object
removeEventListenerDropShadowSetting()method 
public function removeEventListenerDropShadowSetting(eventTypeParam:String = null, handlerParam:Object = null, capturesParam:Boolean = false):Boolean

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)

Returns
Boolean
toSpecifier()method 
override public function toSpecifier():String

Retrieves the object specifier.

Returns
String