Format Section
data class FormatSection @JvmOverloads() constructor(content: Expression, fontScale: Expression?, textFont: Expression?, textColor: Expression?)
Content copied to clipboard
Holds format entries used in a format expression.
Constructors
FormatSection
Link copied to clipboard
@JvmOverloads()
Content copied to clipboard
Functions
component1
Link copied to clipboard
component2
Link copied to clipboard
component3
Link copied to clipboard
component4
Link copied to clipboard
copy
Link copied to clipboard
fun copy(content: Expression, fontScale: Expression? = null, textFont: Expression? = null, textColor: Expression? = null): FormatSection
Content copied to clipboard
Properties
content
Link copied to clipboard
The visible text or image as an expression for this format section.
fontScale
Link copied to clipboard
If set, the font-scale argument specifies a scaling factor relative to the text-size specified in the root layout properties.
textColor
Link copied to clipboard
If set, the text-color argument overrides the color specified by the root paint properties.
textFont
Link copied to clipboard
If set, the text-font argument overrides the font specified by the root layout properties.