toggle menu
KAHelpers
androidJvm
switch theme
search in API
customviews
/
dev.funkymuse.customviews.ui
/
StringMakeup
String
Makeup
class
StringMakeup
(
input
:
String
)
Credit:
https://gist.github.com/Trikke/90efd4432fc09aaadf3e
Members
Constructors
String
Makeup
Link copied to clipboard
constructor
(
input
:
String
)
Functions
apply
Link copied to clipboard
fun
apply
(
)
:
Spannable
boldify
Link copied to clipboard
fun
boldify
(
)
:
StringMakeup
fun
boldify
(
start
:
Int
,
length
:
Int
)
:
StringMakeup
colorize
Link copied to clipboard
fun
colorize
(
@
ColorInt
color
:
Int
)
:
StringMakeup
fun
colorize
(
start
:
Int
,
length
:
Int
,
@
ColorInt
color
:
Int
)
:
StringMakeup
italize
Link copied to clipboard
fun
italize
(
)
:
StringMakeup
fun
italize
(
start
:
Int
,
length
:
Int
)
:
StringMakeup
mark
Link copied to clipboard
fun
mark
(
color
:
Int
)
:
StringMakeup
fun
mark
(
start
:
Int
,
length
:
Int
,
@
ColorInt
color
:
Int
)
:
StringMakeup
proportionate
Link copied to clipboard
fun
proportionate
(
proportion
:
Float
)
:
StringMakeup
fun
proportionate
(
start
:
Int
,
length
:
Int
,
proportion
:
Float
)
:
StringMakeup
strikethrough
Link copied to clipboard
fun
strikethrough
(
)
:
StringMakeup
fun
strikethrough
(
start
:
Int
,
length
:
Int
)
:
StringMakeup
underline
Link copied to clipboard
fun
underline
(
)
:
StringMakeup
fun
underline
(
start
:
Int
,
length
:
Int
)
:
StringMakeup