Package-level declarations
Types
Link copied to clipboard
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
Link copied to clipboard
data class RectSlice<T : SizeableInt>(val base: T, val rect: RectangleInt, val orientation: SliceOrientation = SliceOrientation.ROTATE_0, val padding: MarginInt = MarginInt.ZERO, val name: String? = null) : SliceCoordsWithBaseAndRect<T>
Link copied to clipboard
interface SliceCoords
Link copied to clipboard
data class SliceCoordsImpl<T : SizeableInt>(val base: T, val coords: SliceCoords, val name: String? = null, val flippedWidthHeight: Boolean = false) : SliceCoordsWithBase<T>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun <T : SizeableInt> SliceCoordsWithBaseAndRect<T>.transformed(orientation: SliceOrientation, name: String? = this.name): RectSlice<T>