papyrus.DSL.builders.TextBuilder
See theTextBuilder companion object
case class TextBuilder(value: String, color: ColorString, fontWeight: FontWeight, fontStyle: FontStyle, textDecoration: TextDecoration) extends Builder[Text]
Builds styled text elements for Papyrus document
Attributes
- Companion
- object
- Graph
-
- Supertypes
Members list
Value members
Concrete methods
Builds a styled Text element
Extension method from TextBuilder
Sets the text color (e.g. "#fff", "rgb(...)", or "red", "blue", ...)
Sets the text color (e.g. "#fff", "rgb(...)", or "red", "blue", ...)
Attributes
Extension method from TextBuilder
Sets the font style ("normal" or "italic")
Sets the font style ("normal" or "italic")
Attributes
Extension method from TextBuilder
Sets the font weight ("normal" or "bold")
Sets the font weight ("normal" or "bold")
Attributes
Extension method from TextBuilder
Appends a newline to another text
Appends a newline to another text
Attributes
Extension method from TextBuilder
Sets the text decoration ("none", "underline" or "overline")
Sets the text decoration ("none", "underline" or "overline")
Attributes
Extension method from TextBuilder
Sets the text content
Sets the text content
Attributes
Inherited methods
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
In this article