Alignment
class Alignment
An object representing the value of a textLayer’s text alignment property. This object can take on the following values: natural, left, right, center or justified.
-
A string representing the alignment value.
Declaration
var name: String { get } -
The object’s description
Declaration
var description: String { get } -
Compares two values for equality.
The
equalsfunction is invoked using infix notation as in the following code snippet:lhs == rhs.Declaration
func equals(_ lhs: Alignment) -> BoolParameters
lhsA value.
rhsAnother value.
Return Value
trueif thelhsandrhsare equal,falseotherwise.