PdfTextElement class
Represents the text area with the ability to span several pages and inherited from the PdfLayoutElement class
- Inheritance
-
- Object
- PdfLayoutElement
- PdfTextElement
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.
getter/setter pairinherited
- brush ↔ PdfBrush?
-
Gets or sets the PdfBrush that will be used to draw the text with color
and texture.
getter/setter pair
- endPageLayout ↔ EndPageLayoutCallback?
-
Raises after the element was printed on the page.
getter/setter pairinherited
- font ↔ PdfFont
-
Gets or sets a PdfFont that defines the text format.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- pen ↔ PdfPen?
-
Gets or sets a PdfPen that determines the color, width,
and style of the text
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stringFormat ↔ PdfStringFormat?
-
Gets or sets the PdfStringFormat that will be used to
set the string format
getter/setter pair
- text ↔ String
-
A value indicating the text that should be printed.
getter/setter pair
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 nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited