Working with Graphic Elements > Classes > Pen
Namespace: PP;
Pen
The Pen class is used to work with page parameters.
PP.initClass(PP.Pen, PP.Object, "Pen");
Constructor name | Brief description | |
![]() |
Pen | The Pen constructor creates an instance of the Pen class. |
Property name | Brief description | |
![]() |
Color | The Color property determines border color. |
![]() |
Opacity | The Opacity property determines border transparency. |
![]() |
Style | The Style property determines border display style. |
![]() |
Width | The Width property determines border width. |
Method name | Brief description | |
![]() |
applyToNode | The applyToNode method sets border for the specified DOM element. |
![]() |
toSVGFormat | The toSVGFormat method determines border settings for the specified 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: