Symbol
Last updated
Last updated
The Symbol class represents a symbol. Symbol instances are immutable.
Field
Type
Description
symbolID
string
Read only. The unique ID for this symbol.
identifier
string
Read only. A string suitable as a parameter to the method getSymbolByName
.
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
.