ToolVariantID
Swift
extension Annotation.ToolVariantID: CustomStringConvertible
-
Undocumented
Declaration
Swift
public init(tool: Annotation.Tool, variant: Annotation.Variant? = nil)
-
Declaration
Swift
public var description: String { get }
-
Returns the original Annotation.Tool used to generate the Annotation.ToolVariantID.
Declaration
Swift
public var tool: Annotation.Tool { get }
-
Returns the original Annotation.Variant used to generate the Annotation.ToolVariantID.
Declaration
Swift
public var variant: Annotation.Variant? { get }
-
The localized name of the tool, taking its variant into consideration.
Declaration
Swift
public var localizedName: String { get }