Image

class Image(val link: LinkNode, val width: Size?, val height: Size?) : Node

An image.

Parameters

link

the link the image points to

width

optional width constraint

height

optional height constraint

Constructors

Link copied to clipboard
constructor(link: LinkNode, width: Size?, height: Size?)

Properties

Link copied to clipboard
val height: Size?
Link copied to clipboard
Link copied to clipboard
val width: Size?

Functions

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

Accepts a visitor.

Link copied to clipboard