Kind

public enum Kind : Equatable

The kind of object, together with attached data specific to that kind of object

  • The object is a single point (use the position property for its coordinate

    Declaration

    Swift

    case point
  • A rectangle (with origin at position) of the specied Size and angle (in degrees)

    Declaration

    Swift

    case rectangle(Size, angle: Double)
  • An ellipse (with origin at position) of the specied Size and angle (in degrees)

    Declaration

    Swift

    case ellipse(Size, angle: Double)
  • A reference to a Map Tile (you must used the Map to retreive the correct tile) and a specied angle (in degrees) to draw it at

    Declaration

    Swift

    case tile(TileGID, size: Size, angle: Double)
  • a String to render within the specied Size, at the specified angle (in degrees). The TextStyle defines the style that should be used to render the String

    Declaration

    Swift

    case text(String, size: Size, angle: Double, style: TextStyle)
  • A closed polygon (with origin at position) with the specied Path and angle (in degrees)

    Declaration

    Swift

    case polygon(Path, angle: Double)
  • An open polygon (with origin at position) with the specied Path and angle (in degrees)

    Declaration

    Swift

    case polyline(Path, angle: Double)