Scaler

sealed class Scaler

Author

Colton Daily

Types

Link copied to clipboard
class Fill : Scaler
Link copied to clipboard
class FillX : Scaler
Link copied to clipboard
class FillY : Scaler
Link copied to clipboard
class Fit : Scaler
Link copied to clipboard
class None : Scaler
Link copied to clipboard
class Stretch : Scaler
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
abstract fun apply(sourceWidth: Float, sourceHeight: Float, targetWidth: Float, targetHeight: Float): Vec2f
fun apply(sourceWidth: Int, sourceHeight: Int, targetWidth: Int, targetHeight: Int): Vec2f

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard