PdfTextElement constructor

PdfTextElement({
  1. String text = '',
  2. PdfFont? font,
  3. PdfPen? pen,
  4. PdfBrush? brush,
  5. PdfStringFormat? format,
})

Initializes a new instance of the PdfTextElement class.

Implementation

PdfTextElement(
    {String text = '',
    PdfFont? font,
    PdfPen? pen,
    PdfBrush? brush,
    PdfStringFormat? format}) {
  _helper = PdfTextElementHelper(this);
  _initialize(text, font, pen, brush, format);
}