ImageSize

class ImageSize

Functions

Link copied to clipboard
open fun calculatePixelCount(): Int
Link copied to clipboard
open fun calculateWidthToHeightRatio(): Double
Link copied to clipboard
open fun convertRatioToShorterSideToWidth(ratioToShorterSide: Double): Double
Link copied to clipboard
open fun equals(o: Any): Boolean
Link copied to clipboard
open fun hashCode(): Int
Link copied to clipboard
open fun of(width: Int, height: Int): ImageSize
Link copied to clipboard
open fun resolveShorterSide(): Int
Link copied to clipboard
open fun toString(): String

Properties

Link copied to clipboard
val height: Int
Link copied to clipboard
val width: Int