PdfTextElement class Null safety

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

Inheritance

Constructors

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

Properties

beginPageLayout BeginPageLayoutCallback?
Raises before the element should be printed on the page.
read / write, inherited
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 / write, inherited
font PdfFont
Gets or sets a PdfFont that defines the text format.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
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.
read-only, inherited
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

Methods

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

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited