TextDesignSpriteModel
@available(iOS 9.0, *)
public struct TextDesignSpriteModel : SpriteModel, Equatable
A TextDesignSpriteModel
holds information about a text design that should be added to an image.
-
The identifier of the
TextDesign
that should be added to an image.Declaration
Swift
public var identifier: String
-
Creates a new
TextDesignSpriteModel
with the given identifier.Declaration
Swift
public init(identifier: String)
Parameters
identifier
The identifier of the
TextDesign
that should be added to an image.
-
The text that should be added to an image.
Declaration
Swift
public var text: String?
-
The color of the text design.
Declaration
Swift
public var tintColor: UIColor
-
The seed used for the randomizer.
Declaration
Swift
public var randomizerSeed: UInt64
-
Whether the text design should be drawn inverted.
Declaration
Swift
public var isInverted: Bool