TileBoundsOld

data class TileBoundsOld(val left: Int, val right: Int, val top: Int, val bottom: Int)

Constructors

Link copied to clipboard
constructor(left: Int, right: Int, top: Int, bottom: Int)

Properties

Link copied to clipboard
val bottom: Int
Link copied to clipboard
val left: Int
Link copied to clipboard
val right: Int
Link copied to clipboard
val top: Int

Functions

Link copied to clipboard
fun center(): PointF

Center tile in the bounds.

Link copied to clipboard

Tests whether the bounds equals the specified bounds.

Link copied to clipboard
fun height(): Float

Number of tiles vertically.

Link copied to clipboard

Returns the intersection the bounds with the specified bounds.

Link copied to clipboard

Tests whether the bounds overlaps the specified bounds.

Link copied to clipboard
fun width(): Float

Number of tiles horizontally.