TextStyle.fromProperties

TextStyle fromProperties(ref const StyleProperties props) @safe pure nothrow

Constructs a TextStyle from the given property map.

Parameters

propsSource attributes (typically from text-properties).

Returns

A TextStyle with recognised fields populated.