FormatSection

data class FormatSection @JvmOverloads constructor(val content: Expression, var fontScale: Expression? = null, var textFont: Expression? = null, var textColor: Expression? = null)

Holds format entries used in a format expression.

Constructors

Link copied to clipboard
fun FormatSection(content: Expression, fontScale: Expression? = null, textFont: Expression? = null, textColor: Expression? = null)

Properties

Link copied to clipboard

The visible text or image as an expression for this format section.

Link copied to clipboard
var fontScale: Expression? = null

If set, the font-scale argument specifies a scaling factor relative to the text-size specified in the root layout properties.

Link copied to clipboard
var textColor: Expression? = null

If set, the text-color argument overrides the color specified by the root paint properties.

Link copied to clipboard
var textFont: Expression? = null

If set, the text-font argument overrides the font specified by the root layout properties.