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