toggle menu
vico
androidJvm
switch theme
search in API
core
/
com.patrykandpatrick.vico.core.common
/
MutableMeasuringContext
/
spToPx
sp
To
Px
open
override
fun
spToPx
(
sp
:
Float
)
:
Float
Returns the number of pixels corresponding to
sp
scalable pixels.
@get:
RestrictTo
(
value
=
[
RestrictTo.Scope.LIBRARY_GROUP
]
)
var
spToPx
:
(
Float
)
->
Float