mapbox-maps-android
mapbox-maps-android
/
com.mapbox.bindgen
/
Size
Size
open
class
Size
Class for describing width and height dimensions.
Constructors
Functions
Properties
Constructors
Size
Link copied to clipboard
open
fun
Size
(
@
IntRange
(
from
=
0
)
width
:
Int
,
@
IntRange
(
from
=
0
)
height
:
Int
)
Create a new immutable Size instance.
Functions
equals
Link copied to clipboard
open
fun
equals
(
@
Nullable
obj
:
Any
)
:
Boolean
Check if this size is equal to another size.
hash
Code
Link copied to clipboard
open
fun
hashCode
(
)
:
Int
to
String
Link copied to clipboard
open
fun
toString
(
)
:
String
Return the size represented as a string with the format
Properties
height
Link copied to clipboard
@
IntRange
(
from
=
0
)
@get:
IntRange
(
from
=
0
)
val
height
:
Int
width
Link copied to clipboard
@
IntRange
(
from
=
0
)
@get:
IntRange
(
from
=
0
)
val
width
:
Int