ParagraphStyle.fromProperties

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

Constructs a ParagraphStyle from the given property map.

Parameters

propsSource attributes (typically from paragraph-properties).

Returns

A ParagraphStyle with recognised fields populated.