Layer

class Layer

Layers contain animatable objects.

  • property documentation (update this)

    Declaration

    var descendants: Array { get }
  • id

    property documentation (update this)

    Declaration

    var id: String { get }
  • property documentation (update this)

    Declaration

    var type: LayerType { get }
  • property documentation (update this)

    Declaration

    var name: String { get }
  • property documentation (update this)

    Declaration

    var visible: Bool { get }
  • property documentation (update this)

    Declaration

    var locked: Bool { get }
  • property documentation (update this)

    Declaration

    var resizingConstraint: Double { get }
  • property documentation (update this)

    Declaration

    var parent: Layer? { get }
  • property documentation (update this)

    Declaration

    var sublayers: Array { get }
  • property documentation (update this)

    Declaration

    var clippingMask: Layer? { 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: Layer) -> Bool

    Parameters

    lhs

    A value.

    rhs

    Another value.

    Return Value

    true if the lhs and rhs are equal, false otherwise.