ElementOptions

Common drawing element options.

clip? Path

The clipping path for this element. The Path instance will be monitored for changes. Can be replaced by calling the clip method.

cursor? string

The CSS cursor of the element.

id? string

An optional id. The id will be rendered only for SVG output.

name? string

The optional name for this element.

opacity? number

The element opacity. Ranges from zero (completely transparent) to one (completely opaque).

transform? Transformation

The transformation to apply to this element.

visible? boolean

A flag which indicates if the element is visible.