For AI agents: a documentation index is available at /llms.txt. Markdown versions of all pages are available by appending .md to any URL.

Class Layout<Props>

Because layout properties are not transitionable, they have a simpler representation and evaluation chain than paint properties: PropertyValues are possibly evaluated, producing possibly evaluated values, which are then fully evaluated.

Layout stores a map of all (property name, PropertyValue) pairs for layout properties of a given layer type. It can calculate the possibly-evaluated values for all of them at once, producing a PossiblyEvaluated instance for the same set of properties.

Type Parameters

  • Props
Index

Constructors

Methods

  • Type Parameters

    • S extends string | number | symbol

    Parameters

    • name: S

    Returns any

  • Parameters

    • name: string

    Returns boolean

  • Type Parameters

    • S extends string | number | symbol

    Parameters

    • name: S

    Returns boolean

  • Returns any

  • Type Parameters

    • S extends string | number | symbol

    Parameters

    • name: S
    • value: any

    Returns void

Was this helpful?