ImageLayer

public struct ImageLayer : LayerProtocol

Undocumented

  • The reference to the image, that you can use to load the image

    Declaration

    Swift

    public let image: ImageReference
  • A filter that can be used for selecting layers that have the Layer.kind attribute of group

    Declaration

    Swift

    public static let kind: LayerFilter
  • The name of the layer, or an empty String if none was specified

    Declaration

    Swift

    public var name: String { get }
  • true if the layer should be visible

    Declaration

    Swift

    public var visible: Bool { get }
  • A level of transparent the layer (and therefore its contents) should be rendered with

    Declaration

    Swift

    public var opacity: Double { get }
  • An offset from the Layers parent’s origin

    Declaration

    Swift

    public var position: Position { get }
  • User specified Properties of the layer

    Declaration

    Swift

    public var properties: Properties { get }
  • If true no editing operations should be applied to the Layer

    Declaration

    Swift

    public var locked: Bool { get }
  • Any tint that should be applied to the Layer, or none if nil

    Declaration

    Swift

    public var tintColor: Color? { get }