graphics/js/GraphicBase.js:41
AttributeLite provides Attribute-like getters and setters for shape classes in the Graphics module. It provides a get/set API without the event infastructure. This class is temporary and a work in progress.
_setname
value
Defined in
graphics/js/GraphicBase.js:188
Provides setter logic. Used by set.
addAttrscfg
Defined in
graphics/js/GraphicBase.js:61
Initializes the attributes for a shape. If an attribute config is passed into the constructor of the host, the initial values will be overwritten.
cfg
Object
Optional object containing attributes key value pairs to be set.
getname
Defined in
graphics/js/GraphicBase.js:130
For a given item, returns the value of the property requested, or undefined if not found.
name
String
The name of the item
The value of the supplied property.