TileOffset
public enum TileOffset : Int
The TiledLayerType
enumeration determines tile offset hints for coordinate conversion.
Constants
center
: tile is centered.top
: tile is offset at the top.topLeft
: tile is offset at the upper left.topRight
: tile is offset at the upper right.bottom
: tile is offset at the bottom.bottomLeft
: tile is offset at the bottom left.bottomRight
: tile is offset at the bottom right.left
: tile is offset at the left side.right
: tile is offset at the right side.
-
Returns the anchor point described by the offset.
Declaration
Swift
public var anchorPoint: CGPoint { get }