← Standard library

ChildGeometry

struct ChildGeometry
import ChildGeometry from Wax;

The result of measuring a child: its size and optional first text baseline. A later Place uses the most recent successful measurement.

Layout.wax:160

Members

sizefield

public Size size

The measured dimensions in logical points.

Layout.wax:164

firstBaselinefield

public float firstBaseline

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

Layout.wax:168

constructorconstructor

public constructor (Size size, float firstBaseline)

Stores the size and baseline without validation.

Layout.wax:173

ToStringmethod

public fn ToString() : string

Provided by the compiler.

ToStringBuffermethod

public fn ToStringBuffer(StringBuilder builder) : int32

Provided by the compiler.