ReportTextPrimitive class final
Shaped paragraph inside contentRect.
- Inheritance
-
- Object
- ReportPrimitive
- ReportTextPrimitive
Constructors
- ReportTextPrimitive({required ReportRect bounds, String? elementId, ReportBandKind? band, required String text, required ReportShapedText shaped, required ReportRect contentRect, required ReportFontSpec font, required ReportColor color, required ReportTextAlign align, required ReportVerticalAlign verticalAlign, required bool rtl, bool underline = false, String? link})
-
ReportTextPrimitive API.
const
Properties
- align → ReportTextAlign
-
Physical alignment: left, right, center, or justify.
final
- band → ReportBandKind?
-
Band that produced it.
finalinherited
- bounds → ReportRect
-
Box covered by the primitive.
finalinherited
- color → ReportColor
-
color API.
final
- contentRect → ReportRect
-
Area inside padding; lines are clipped to it.
final
- elementId → String?
-
Template element that produced it (designer back-reference).
finalinherited
- firstLineTop → double
-
Top of the first line box after vertical alignment.
no setter
- font → ReportFontSpec
-
font API.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- link → String?
-
URI annotation for this slice. Null is plain text.
final
- rtl → bool
-
Paragraph direction.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shaped → ReportShapedText
-
Lines with metrics.
final
- text → String
-
Full logical text.
final
- underline → bool
-
underline API.
final
- verticalAlign → ReportVerticalAlign
-
verticalAlign API.
final
Methods
-
lineLeft(
int index) → double -
Left x of line
indexafter horizontal alignment. -
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