Whitespace

class Whitespace(val width: Size?, val height: Size?) : Node

An empty square that adds whitespace to the layout. If both width and height are null, the whitespace consists of a blank space.

Parameters

width

width of the whitespace

height

height of the whitespace

Constructors

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

Properties

Link copied to clipboard
val height: Size?
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