Symbol
The Symbol class represents a symbol. Symbol instances are immutable.
Fields
Field | Type | Description |
| string | Read only. The unique ID for this symbol. |
| string | Read only. A string suitable as a parameter to the Document method |
Methods
equals( object )
Returns True if object represents the same symbol as self.
generateSvg(document, x, y, scale, maxSize)
Generate an SVG fragment that renders the symbol at the given position with given scale factor (see Symbol Scale and Size Type) and
maxSize
, a tuple of (width, height) and can beNone
.
Last updated