LayerProtocol
public protocol LayerProtocol : Propertied
All Layer
types, or types that represent specialisations of Layer
implement this common set of
properties.
-
The name of the layer, or an empty
String
if non was specifiedDeclaration
Swift
var name: String { get }
-
true
if the layer should be visibleDeclaration
Swift
var visible: Bool { get }
-
A level of how transparent the layer (and therefore its contents) should be rendered with
Declaration
Swift
var opacity: Double { get }
-
If true the layer is locked. If you are providing editing functionality no changes should be made to this layer
Declaration
Swift
var locked: Bool { get }