Rachel
Toggle table of contents
3.5.0
common
Target filter
common
Switch theme
Search in API
Skip to content
Rachel
love.yinlin.compose.components.rich-text
/
love.yinlin.compose.ui.text
/
RichString
Rich
String
@
Stable
class
RichString
:
RichList
Members
Members & Extensions
Types
Converter
Link copied to clipboard
@
Stable
data
object
Converter
:
RichConverter
Properties
json
Link copied to clipboard
override
val
json
:
JsonElement
type
Link copied to clipboard
open
override
val
type
:
String
Functions
add
List
Node
Link copied to clipboard
inline
fun
addListNode
(
item
:
RichList
,
content
:
RichList
.
(
)
->
Unit
)
add
Node
Link copied to clipboard
fun
addNode
(
item
:
RichObject
)
at
Link copied to clipboard
fun
RichList
.
at
(
uri
:
String
,
text
:
String
,
color
:
Color
?
=
null
)
br
Link copied to clipboard
fun
RichList
.
br
(
)
emoji
Link copied to clipboard
fun
RichList
.
emoji
(
id
:
Int
)
image
Link copied to clipboard
fun
RichList
.
image
(
uri
:
String
,
width
:
Float
=
1.0f
,
height
:
Float
=
1.0f
)
link
Link copied to clipboard
fun
RichList
.
link
(
uri
:
String
,
text
:
String
,
color
:
Color
?
=
null
)
style
Link copied to clipboard
inline
fun
RichList
.
style
(
fontSize
:
TextUnit
?
=
null
,
color
:
Color
?
=
null
,
bold
:
Boolean
=
false
,
italic
:
Boolean
=
false
,
underline
:
Boolean
=
false
,
strikethrough
:
Boolean
=
false
,
content
:
RichList
.
(
)
->
Unit
)
text
Link copied to clipboard
fun
RichList
.
text
(
str
:
String
)
topic
Link copied to clipboard
fun
RichList
.
topic
(
uri
:
String
,
text
:
String
,
color
:
Color
?
=
null
)
to
String
Link copied to clipboard
override
fun
toString
(
)
:
String