NSShadow
class NSShadow
An object representing a layer’s drop shadow.
-
The offset of the shadow’s frame relative to that of layer it applies to.
Declaration
var offset: Size { get } -
The blur radius of the shadow.
Declaration
var blurRadius: Double { get } -
Color of the shadow.
Declaration
var color: Color? { 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: NSAttributedString) -> BoolParameters
lhsA value.
rhsAnother value.
Return Value
trueif thelhsandrhsare equal,falseotherwise.