PERGOLA LOGO

pergola.ColorBoxSelector

System events: YES.

User events and functions: NO.

This class is specifically designed to initialize the pergola.colorpicker. Example.

Listed: class properties/methods; prototype properties and methods; instance properties. Prototype properties and methods inherited by the Class superclass are not listed.

class

None

prototype

PROPERTIES

parent

pergola.user.

fill

Defined in pergola.presentationAttributes – string.

stroke

Defined in pergola.presentationAttributes – string.

width

Defined in pergola.presentationAttributes – number (user space units).

height

Defined in pergola.presentationAttributes – number (user space units).

METHODS

handleEvent(evt)

build(object)

this inherits the properties specified in object. Prototype properties specified in object are overridden. Creates elements. Returns this.

instance

name

String. If not passed to the constructor, gets a generated XML name (Class).

id

String. The return value of this name.toXML(). This container ID. Used as prefix where other elements' IDs are attributed.

owner

If specified, designates the owner object.

container

<g> element.

rect

<rect> element.

caption

If specified, an object defining the required textNode string property, optional x, y number (user space units) properties, and optional position string property. These are pergola.Caption properties. This property is reassigned during processing, and references a new pergola.Caption instance.