PdfPath class
Implements graphics path, which is a sequence of primitive graphics elements.
- Inheritance
-
- Object
- PdfLayoutElement
- PdfShapeElement
- PdfPath
Constructors
Properties
- beginPageLayout ↔ BeginPageLayoutCallback?
-
Raises before the element should be printed on the page.
getter/setter pairinherited
- brush ↔ PdfBrush?
-
Gets the brush of the element
getter/setter pair
- endPageLayout ↔ EndPageLayoutCallback?
-
Raises after the element was printed on the page.
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- pen ↔ PdfPen
-
Gets a pen that will be used to draw the element.
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addArc(
Rect bounds, double startAngle, double sweepAngle) → void - Adds an arc
-
addBezier(
Offset startPoint, Offset firstControlPoint, Offset secondControlPoint, Offset endPoint) → void - Adds an bezier curve
-
addEllipse(
Rect bounds) → void - Adds an ellipse
-
addLine(
Offset point1, Offset point2) → void - Adds a line
-
addPath(
List< Offset> pathPoints, List<int> pathTypes) → void - Appends the path specified by the points and their types to this one.
-
addPie(
Rect bounds, double startAngle, double sweepAngle) → void - Adds a pie
-
addPolygon(
List< Offset> points) → void - Adds a polygon
-
addRectangle(
Rect bounds) → void - Adds a rectangle
-
closeFigure(
) → void - Closes the last figure.
-
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
-
startFigure(
) → void - Starts a new figure.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited