TileAlignmentHint
public enum TileAlignmentHint : Int
extension SKTile.TileAlignmentHint: CustomStringConvertible, CustomDebugStringConvertible
Overview
Alignment hint used to define how to handle tile positioning within layers & objects (in the event the tile size is different than the parent).
Properties
Property | Description |
---|---|
topLeft | Tile is positioned at the upper left. |
top | Tile is positioned at top. |
topRight | Tile is positioned at the upper right. |
left | Tile is positioned at the left. |
center | Tile is positioned in the center. |
right | Tile is positioned to the right. |
bottomLeft | Tile is positioned at the bottom left. |
bottom | Tile is positioned at the bottom. |
bottomRight | Tile is positioned at the bottom right. |
-
Declaration
Swift
public var description: String { get }
-
Declaration
Swift
public var debugDescription: String { get }