TitleBuilder

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
trait Serializable
trait Product
trait Equals
trait Builder[Title]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def build: Title

Builds a styled Title element

Builds a styled Title element

Attributes

Definition Classes
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

def title(t: String): TitleBuilder
Extension method from TitleBuilder

Sets the title text

Sets the title text

Attributes

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product