Namespace: PP;
Shadow
The Shadow class implements base class of the shadow.
PP.initClass(PP.Shadow, PP.Object, "PP.Shadow");
| Constructor name | Brief description | |
| Shadow | The Shadow constructor creates an instance of the Shadow class. |
| Property name | Brief description | |
| Angle | The Angle property determines shadow angle. | |
| BlurSize | The BlurSize property determines shadow blur size. | |
| Color | The Color property determines shadow color. | |
| Distance | The Distance property determines shadow offset relative to object. | |
| EnableBlur | The EnableBlur property determines whether blur is used. | |
| Enabled | The Enabled property determines whether shadow is active. | |
| EnableOpacity | The EnableOpacity property determines whether opacity is used. | |
| Opacity | The Opacity property determines shadow opacity. | |
| Size | The Size property determines shadow size. | |
| X | The X property determines horizontal offset of the shadow. | |
| Y | The Y property determines vertical offset of shadow. |
| Method name | Brief description | |
| toCSSFormat | The toCSSFormat method returns container shadow settings in CSS format. | |
| toCSSTextShadowFormat | The toCSSTextShadowFormat method returns text shadow settings in CSS format. | |
| toSVGFormat | The toSVGFormat method applies shadow to SVG element. |
| Property name | Brief description | |
![]() |
The Id property determines a repository object identifier. |
| Method name | Brief description | |
![]() |
clone | The clone method creates an object copy. |
![]() |
dispose | The dispose method deletes the component. |
![]() |
getHashCode | The getHashCode method returns hash code of repository object. |
![]() |
getId | The getId method returns repository object identifier. |
![]() |
getSettings | The getSettings method returns repository object settings. |
![]() |
getTypeName | The getTypeName method returns the name of the object type without the namespace, to which it belongs. |
![]() |
isEqual | The isEqual method determines whether the specified object is equal to the current repository object. |
![]() |
isLive | The isLive method determines validity of repository object. |
![]() |
removeAllEvents | The removeAllEvents method removes all object event handlers by the specified context. |
![]() |
setId | The setId method determines a repository object identifier. |
![]() |
setSettings | The setSettings method determines repository object settings. |
![]() |
defineProps | The defineProps method creates get and set methods from name array for the specified class. |
![]() |
keys | The keys method returns array of methods and properties names for the specified object. |
See also: