PdfContentText class final
One TJ or Tj.
Constructors
-
PdfContentText({required String fontResource, required Map<
String, Object?> font, required PdfContentFontInfo fontInfo, required double size, required double horizontalScale, required PdfContentMatrix textMatrix, required PdfContentMatrix ctm, required List<int> codes, required String? string, required double advance, required PdfContentState state, required int operatorIndex})
Properties
- advance → double
-
The run's advance in unscaled text space (before the text matrix):
sum(w / 1000) · size · Tz / 100, minus eachTJnumber/ 1000 · size · Tz / 100. The widthsware read from the font's/W(CID fonts, default/DW) or/Widths.final -
codes
→ List<
int> -
The run's character codes: CIDs (two bytes each) for a
/Type0font, single bytes otherwise.final - ctm → PdfContentMatrix
-
The CTM in force.
final
-
font
→ Map<
String, Object?> -
The font dictionary (indirect values resolved one level).
final
- fontInfo → PdfContentFontInfo
-
What font declares, followed through the file's references.
final
- fontResource → String
-
The resource name
Tfselected, e.g./F1.final - hashCode → int
-
The hash code for this object.
no setterinherited
- horizontalScale → double
-
Tz, in percent (100 when not set).final - operatorIndex → int
-
final
- origin → PdfXY
-
The run's origin in page space.
no setter
- pageMatrix → PdfContentMatrix
-
The text matrix in page space:
Tm × CTM.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → double
-
Tf's size.final - state → PdfContentState
-
final
- string → String?
-
The codes mapped through the font's
/ToUnicode, ornullwhen the font has none.final - textMatrix → PdfContentMatrix
-
The text matrix at the start of the run, in text space.
final
Methods
-
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