IconImage

class IconImage(val name: String) : Node

An icon node, which shows a pixel-perfect image from the icon library by its name.

Note: icon libraries and names are dependent on the renderer. No validation is performed by the compiler, and missing icons may not be rendered or rendered incorrectly.

Parameters

name

the name of the icon

Constructors

Link copied to clipboard
constructor(name: String)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open override fun <T> accept(visitor: NodeVisitor<T>): T

Accepts a visitor.

Link copied to clipboard

Retrieves the stored media associated with this node, if any.

Link copied to clipboard