Symbol
The Symbol class represents a symbol. Symbol instances are immutable.
Fields
Field
Type
Description
symbolID
string
Read only. The unique ID for this symbol.
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