OptionalbackgroundBackground shape.
OptionalbackgroundPaint effect of the background shape.
OptionalbufferText buffer (halo), such as bufferDraw, bufferSize, and bufferColor.
OptionalbufferPaint effect of the buffer.
OptionaldataText-format data-defined properties.
OptionalfamiliesFont families in priority order.
OptionalmaskSelective masking settings, such as maskEnabled and maskSize.
OptionalmaskPaint effect of the mask.
OptionalshadowDrop shadow, such as shadowDraw and shadowOffsetDist.
OptionalstyleFont and color settings, such as fontFamily, fontSize, fontSizeUnit, and textColor.
OptionaltabTab stops, each with attributes such as position.
Text format shared by labels, annotations, and layout items (
<text-style>).