TextSpriteModel
@available(iOS 9.0, *)
public struct TextSpriteModel : SpriteModel, Equatable
A TextSpriteModel
holds information about a text that should be added to an image.
-
The text that should be added to an image.
Declaration
Swift
public var text: String?
-
The text alignment of the text.
Declaration
Swift
public var textAlignment: NSTextAlignment
-
The color of the text.
Declaration
Swift
public var textColor: UIColor
-
The identifier of the
Font
of the text.Declaration
Swift
public var fontIdentifier: String?
-
The background color of the text.
Declaration
Swift
public var backgroundColor: UIColor