← Standard library

BoxGeometry

struct BoxGeometry
import BoxGeometry from Wax;

The result of a box layout: its size and optional first text baseline.

Layout.wax:135

Members

sizefield

public Size size

The measured dimensions in logical points.

Layout.wax:139

firstBaselinefield

public float firstBaseline

The first baseline offset in logical points, or -1 when the subtree has no baseline.

Layout.wax:143

constructorconstructor

public constructor (Size size, float firstBaseline)

Stores the size and baseline without validation.

Layout.wax:148

ToStringmethod

public fn ToString() : string

Provided by the compiler.

ToStringBuffermethod

public fn ToStringBuffer(StringBuilder builder) : int32

Provided by the compiler.