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
equals
function is invoked using infix notation as in the following code snippet:lhs == rhs
.Declaration
func equals(_ lhs: Alignment) -> Bool
Parameters
lhsA value.
rhsAnother value.
Return Value
true
if thelhs
andrhs
are equal,false
otherwise.