papyrus.DSL.builders.TitleBuilder
See theTitleBuilder companion object
case class TitleBuilder(title: String, level: Level, font: FontFamily, fontSize: FontSize, textColor: ColorString, textAlign: Alignment) extends Builder[Title]
Builds styled title elements for Papyrus document
Attributes
- Companion
- object
- Graph
-
- Supertypes
Members list
Value members
Concrete methods
Builds a styled Title element
Extension method from TitleBuilder
Sets the font family (e.g. "Arial", "Helvetica", "Times New Roman", ...)
Sets the font family (e.g. "Arial", "Helvetica", "Times New Roman", ...)
Attributes
Extension method from TitleBuilder
Sets the font size (Int: 8 to 72)
Sets the font size (Int: 8 to 72)
Attributes
Extension method from TitleBuilder
Sets the heading level (Int: 1 to 3)
Sets the heading level (Int: 1 to 3)
Attributes
Extension method from TitleBuilder
Sets the text alignment (String: "left", "right", "center", "justify", "start", "end")
Sets the text alignment (String: "left", "right", "center", "justify", "start", "end")
Attributes
Extension method from TitleBuilder
Sets the text color (ColorString: "#fff", "rgb(...)", or named colors)
Sets the text color (ColorString: "#fff", "rgb(...)", or named colors)
Attributes
Extension method from TitleBuilder
Sets the title text
Sets the title text
Attributes
Inherited methods
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
In this article