ReportPathPrimitive class final
Polyline or polygon (chart lines, areas, and pie wedges).
- Inheritance
-
- Object
- ReportPrimitive
- ReportPathPrimitive
Constructors
- ReportPathPrimitive({required ReportRect bounds, String? elementId, ReportBandKind? band, required Float64List points, bool closed = false, ReportColor? fill, ReportColor? stroke, double strokeWidth = 0, ReportLineStyle lineStyle = ReportLineStyle.solid})
-
ReportPathPrimitive API.
const
- ReportPathPrimitive.through(Float64List points, {String? elementId, ReportBandKind? band, bool closed = false, ReportColor? fill, ReportColor? stroke, double strokeWidth = 0, ReportLineStyle lineStyle = ReportLineStyle.solid})
-
Path through
pointswith bounds computed from them.factory
Properties
- band → ReportBandKind?
-
Band that produced it.
finalinherited
- bounds → ReportRect
-
Box covered by the primitive.
finalinherited
- closed → bool
-
Close back to the first vertex (polygons are filled when fill is set).
final
- elementId → String?
-
Template element that produced it (designer back-reference).
finalinherited
- fill → ReportColor?
-
fill API.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- length → int
-
Number of vertices.
no setter
- lineStyle → ReportLineStyle
-
lineStyle API.
final
- points → Float64List
-
Interleaved x, y vertex coordinates.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stroke → ReportColor?
-
stroke API.
final
- strokeWidth → double
-
strokeWidth API.
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
Static Methods
-
boundsOf(
Float64List points) → ReportRect -
Smallest rectangle holding
points.