compose-richtext
common
richtext-ui
/
com.halilibo.richtext.ui
/
BlockQuoteGutter
/
BarGutter
Bar
Gutter
@
Immutable
data
class
BarGutter
(
val
startMargin
:
TextUnit
=
6.sp
,
val
barWidth
:
TextUnit
=
3.sp
,
val
endMargin
:
TextUnit
=
6.sp
,
val
color
:
(
contentColor
:
Color
)
->
Color
=
{ it.copy(alpha = .25f) }
)
:
BlockQuoteGutter
Members
Constructors
Bar
Gutter
Link copied to clipboard
constructor
(
startMargin
:
TextUnit
=
6.sp
,
barWidth
:
TextUnit
=
3.sp
,
endMargin
:
TextUnit
=
6.sp
,
color
:
(
contentColor
:
Color
)
->
Color
=
{ it.copy(alpha = .25f) }
)
Functions
draw
Gutter
Link copied to clipboard
@
Composable
open
override
fun
RichTextScope
.
drawGutter
(
)
Properties
bar
Width
Link copied to clipboard
val
barWidth
:
TextUnit
color
Link copied to clipboard
val
color
:
(
contentColor
:
Color
)
->
Color
end
Margin
Link copied to clipboard
val
endMargin
:
TextUnit
start
Margin
Link copied to clipboard
val
startMargin
:
TextUnit