API reference
Preparing search index…

FontEffectInstancer

Native font effect factory with local properties and a JS callback.

Registration retains the callback through shutdown, even after replacement. Callbacks may use copied properties, dictionaries and font effects, and delegate to another instancer. Recursive instancing, parsing, registration and DOM/runtime mutation throw. Exceptions propagate at the outer boundary.

Source & inheritance
Member directory7

Constructors

Methods

Constructors

Methods

  • Expose protected Rml::FontEffectInstancer::RegisterProperty.

    Parameters

    name
    string

    Local property name.

    defaultValue
    string

    Raw default declaration.

    affectsGeneration
    boolean = true

    Native generation flag; defaults to true.

    Returns

    Mutable definition; duplicate names keep the first definition.

    Source & inheritance
  • Expose protected Rml::FontEffectInstancer::RegisterShorthand.

    Parameters

    name
    string

    Use "font-effect" for anonymous RCSS arguments.

    properties
    string

    Comma-separated property or shorthand names.

    type

    Native parsing strategy.

    Returns

    Local id, or Invalid for duplicate or missing components.

    Source & inheritance

Icons made by Lorc, Delapouite & Skoll · game-icons.net · CC BY 3.0