API reference
Preparing search index…

Native computed style types, values and resolution functions.

Enumerations

AlignContent

The computed flex line alignment.

AlignItems

The computed default flex item alignment.

AlignSelf

The computed individual flex item alignment.

BoxSizing

The computed size calculation box.

Clear

The computed float clearance.

ClipType

The computed ancestor clipping control.

Direction

The computed text reading direction.

Display

The computed layout box generation.

Drag

The computed drag interaction.

FlexDirection

The computed flex main axis direction.

FlexWrap

The computed flex line wrapping.

Float

The computed float placement.

Focus

The computed focus eligibility.

FontKerning

The computed font kerning.

FontStyle

The computed font slant.

FontWeight

The computed font weight.

JustifyContent

The computed flex main axis alignment.

LengthPercentageAutoType

A length in pixels, a percentage, or automatic sizing.

LengthPercentageType

A length in pixels or a percentage of a reference size.

LineHeightInheritType

Computed line height in pixels together with its inherited number or length.

The computed directional keyboard navigation.

NumberAutoType

A numeric value or the automatic keyword, used for stacking order.

OriginX

The computed horizontal transform origin.

OriginY

The computed vertical transform origin.

Overflow

The computed overflow handling.

OverscrollBehavior

The computed scroll chaining.

PointerEvents

The computed pointer hit testing.

Position

The computed positioning scheme.

TabIndex

The computed sequential keyboard focus.

TextAlign

The computed text horizontal alignment.

TextDecoration

The computed text decoration line.

TextOverflow

The computed text overflow marker.

TextTransform

The computed text case conversion.

VerticalAlignType

An inline vertical alignment keyword or pixel offset.

Visibility

The computed visibility.

WhiteSpace

The computed whitespace and wrapping.

WordBreak

The computed word breaking.

Classes

Clip

Native Rml::Style::Clip with its encoded signed-byte semantics.

CommonValues

Owned storage for common layout and border properties.

InheritedValues

Owned storage for inherited text, colour and input properties.

LengthPercentage

A length in pixels or a percentage of a reference size.

LengthPercentageAuto

A length in pixels, a percentage, or automatic sizing.

LineHeight

Computed line height in pixels together with its inherited number or length.

NumberAuto

A numeric value or the automatic keyword, used for stacking order.

RareValues

Owned storage for less common layout, transform and effect properties.

VerticalAlign

An inline vertical alignment keyword or pixel offset.

Functions

resolveValue

Rml::ResolveValue for either computed length type.

resolveValueOr

Rml::ResolveValueOr for either computed length type.

References

Bottom → LengthPercentageAuto

Rml::Style::Bottom, a length, percentage or auto value.

FlexBasis → LengthPercentageAuto

Rml::Style::FlexBasis, a length, percentage or auto value.

Height → LengthPercentageAuto

Rml::Style::Height, a length, percentage or auto value.

Left → LengthPercentageAuto

Rml::Style::Left, a length, percentage or auto value.

Margin → LengthPercentageAuto

Rml::Style::Margin, a length, percentage or auto value.

MaxHeight → LengthPercentage

Rml::Style::MaxHeight, a length or percentage.

MaxWidth → LengthPercentage

Rml::Style::MaxWidth, a length or percentage.

MinHeight → LengthPercentage

Rml::Style::MinHeight, a length or percentage.

MinWidth → LengthPercentage

Rml::Style::MinWidth, a length or percentage.

Padding → LengthPercentage

Rml::Style::Padding, a length or percentage.

PerspectiveOrigin → LengthPercentage

Rml::Style::PerspectiveOrigin, a length or percentage.

Right → LengthPercentageAuto

Rml::Style::Right, a length, percentage or auto value.

Top → LengthPercentageAuto

Rml::Style::Top, a length, percentage or auto value.

TransformOrigin → LengthPercentage

Rml::Style::TransformOrigin, a length or percentage.

Width → LengthPercentageAuto

Rml::Style::Width, a length, percentage or auto value.

ZIndex → NumberAuto

Rml::Style::ZIndex, a number or auto value.

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