dot-face-lite
1.1.3
dot-face-lite
/
com.innovatrics.dot.image
/
ImageSize
Image
Size
class
ImageSize
Functions
Properties
Functions
calculate
Pixel
Count
Link copied to clipboard
open
fun
calculatePixelCount
(
)
:
Int
calculate
Width
To
Height
Ratio
Link copied to clipboard
open
fun
calculateWidthToHeightRatio
(
)
:
Double
convert
Ratio
To
Shorter
Side
To
Width
Link copied to clipboard
open
fun
convertRatioToShorterSideToWidth
(
ratioToShorterSide
:
Double
)
:
Double
equals
Link copied to clipboard
open
fun
equals
(
o
:
Any
)
:
Boolean
hash
Code
Link copied to clipboard
open
fun
hashCode
(
)
:
Int
of
Link copied to clipboard
open
fun
of
(
width
:
Int
,
height
:
Int
)
:
ImageSize
resolve
Shorter
Side
Link copied to clipboard
open
fun
resolveShorterSide
(
)
:
Int
to
String
Link copied to clipboard
open
fun
toString
(
)
:
String
Properties
height
Link copied to clipboard
val
height
:
Int
width
Link copied to clipboard
val
width
:
Int