RectCoords

data class RectCoords(val tlX: Float, val tlY: Float, val trX: Float, val trY: Float, val brX: Float, val brY: Float, val blX: Float, val blY: Float) : SliceCoords

Constructors

Link copied to clipboard
constructor(tlX: Float, tlY: Float, trX: Float, trY: Float, brX: Float, brY: Float, blX: Float, blY: Float)

Properties

Link copied to clipboard
open override val blX: Float
Link copied to clipboard
open override val blY: Float
Link copied to clipboard
open override val brX: Float
Link copied to clipboard
open override val brY: Float
Link copied to clipboard
open override val tlX: Float
Link copied to clipboard
open override val tlY: Float
Link copied to clipboard
open override val trX: Float
Link copied to clipboard
open override val trY: Float

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun rotatedLeft(offset: Int = +1): RectCoords
Link copied to clipboard
fun rotatedRight(offset: Int = +1): RectCoords
Link copied to clipboard
open fun x(index: Int): Float
Link copied to clipboard
open fun y(index: Int): Float