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.

identifier

string

Read only. A string suitable as a parameter to the Document method getSymbolByName.

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 be None.

Last updated