ObjectProtocol

public protocol ObjectProtocol : Propertied

Undocumented

  • id

    An identifier for an Object that is unique with the Map

    Declaration

    Swift

    var id: Int { get }
  • The name of the Object, or an empty String

    Declaration

    Swift

    var name: String { get }
  • The type of the object

    Declaration

    Swift

    var type: String? { get }
  • true if the Object should be rendered

    Declaration

    Swift

    var visible: Bool { get }
  • The location of the Object relative to its containing Layer

    Declaration

    Swift

    var position: Position { get }