PdfTextElement class Null safety

Represents the text area with the ability to span several pages and inherited from the PdfLayoutElement class



PdfTextElement({String text = '', PdfFont? font, PdfPen? pen, PdfBrush? brush, PdfStringFormat? format})
Initializes a new instance of the PdfTextElement class.


beginPageLayout BeginPageLayoutCallback?
Raises before the element should be printed on the page.
read / writeinherited
brush PdfBrush?
Gets or sets the PdfBrush that will be used to draw the text with color and texture.
read / write
endPageLayout EndPageLayoutCallback?
Raises after the element was printed on the page.
read / writeinherited
font PdfFont
Gets or sets a PdfFont that defines the text format.
read / write
hashCode int
The hash code for this object.
pen PdfPen?
Gets or sets a PdfPen that determines the color, width, and style of the text
read / write
runtimeType Type
A representation of the runtime type of the object.
stringFormat PdfStringFormat?
Gets or sets the PdfStringFormat that will be used to set the string format
read / write
text String
A value indicating the text that should be printed.
read / write


draw({PdfGraphics? graphics, PdfPage? page, Rect? bounds, PdfLayoutFormat? format}) PdfLayoutResult?
Draws an element on the graphics or page.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
toString() String
A string representation of this object.


operator ==(Object other) bool
The equality operator.