Icons

Generated reference for the iPrintessApi methods tagged #ai-api:icons in printess-editor.d.ts. Custom types referenced below (parameter and return shapes) are documented on the Types reference.

getAllIconNames

getAllIconNames(): iconName[]

Retrieves all available icon-names

Returns: iconName[]

getIcon

getIcon(icon: iconName, width?: number, height?: number, padding?: number): SVGElement

Retrieves a SVG icon from printess

Parameter Type Description
icon iconName
width? number
height? number
padding? number

Returns: SVGElement

getIconAsString

getIconAsString(icon: iconName): string

Retrieves a SVG icon as plain string from printess

Parameter Type Description
icon iconName

Returns: string