Text Box Property
data class TextBoxProperty(val size: DpSize, val backgroundColor: Color, val textStyle: TextStyle, val selectionBackgroundColor: Color, val padding: Dp, val borderBoxPaint: Paint, val borderBoxPadding: Dp) : Property
Represents the properties of a sticky text box, including size, background color, text style, padding, and border properties. Used to customize the appearance and behavior of a sticky text box in the UI.
Parameters
size
The size of the text box.
background Color
The background color of the text box.
text Style
The text style (font size, color, etc.) to be applied to the text inside the text box.
selection Background Color
The background color when the text is selected.
padding
The padding inside the text box, applied around the text.
border Box Paint
Paint object used to draw a border around the text box.
border Box Padding
Padding for the border box around the text box when focused.