toggle menu
Litho
androidJvm
switch theme
search in API
litho-core
/
com.facebook.litho.utils
/
VersionedAndroidApis
/
M
M
@
RequiresApi
(
value
=
23
)
object
M
Members
Functions
get
Ellipsis
Offset
From
Paint
Advance
Link copied to clipboard
@
JvmStatic
fun
getEllipsisOffsetFromPaintAdvance
(
layout
:
Layout
,
text
:
CharSequence
?
,
isRtl
:
Boolean
,
line
:
Int
,
advance
:
Float
)
:
Int
set
Foreground
Link copied to clipboard
fun
setForeground
(
attrs
:
ViewAttributes
,
foreground
:
Drawable
?
)