Fit

class Fit : Scaler

Constructors

Link copied to clipboard
fun Fit()

Functions

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