TextStyle
public struct TextStyle : XMLRepresentable
Undocumented
-
The value of the text style.
Declaration
Swift
public var value: String? -
The parameters associated with the text style.
Declaration
Swift
public var parameters: [Parameter] -
The reference identifier of the text style.
Declaration
Swift
public var referenceID: String? -
The font of the text style.
Declaration
Swift
public var font: String? -
The font size of the text style.
Declaration
Swift
public var fontSize: Int? -
The font face of the text style.
Declaration
Swift
public var fontFace: String? -
The font color of the text style.
Declaration
Swift
public var fontColor: Color? { get set } -
The background color of the text style.
Declaration
Swift
public var backgroundColor: Color? { get set } -
A Boolean value indicating whether the text is bold.
Declaration
Swift
public var isBold: Bool? -
A Boolean value indicating whether the text is in italics.
Declaration
Swift
public var isItalic: Bool? -
The stroke color of the text style.
Declaration
Swift
public var strokeColor: Color? { get set } -
The stroke width of the text style.
Declaration
Swift
public var strokeWidth: Double? -
The baseline of the text style.
Declaration
Swift
public var baseline: Double? -
The shadow color of the text style.
Declaration
Swift
public var shadowColor: Color? { get set } -
The shadow offset of the text style.
Declaration
Swift
public var shadowOffset: Double? -
The shadow blur radius of the text style.
Declaration
Swift
public var shadowBlurRadius: Double? -
The kerning of the text style.
Declaration
Swift
public var kerning: Double? -
The alignment of the text style.
Declaration
Swift
public var alignment: TextAlignment? -
The line spacing of the text style.
Declaration
Swift
public var lineSpacing: Double? -
The tab stops of the text style.
Declaration
Swift
public var tabStops: Double? -
The baseline offset of the text style.
Declaration
Swift
public var baselineOffset: Double? -
A Boolean value indicating whether the text is underlined.
Declaration
Swift
public var isUnderlined: Bool? -
Initializes a new text style.
Declaration
Swift
public init(referenceID: String? = nil, value: String? = nil)Parameters
referenceIDThe reference identifier of the text style.
valueThe value of the text style.
TextStyle Structure Reference