Methods
-
drawBarStack(CanvasBarStack canvasBarStack, {Rectangle<num>? drawAreaBounds})
→ void
-
Renders a stack of bars, rounding the last bar in the stack.
-
drawCircleSector(Point<num> center, double radius, double innerRadius, double startAngle, double endAngle, {Color? fill, Color? stroke, double? strokeWidthPx})
→ void
-
Renders a sector of a circle, with an optional hole in the center.
-
drawLine({required List<Point<num>> points, Rectangle<num>? clipBounds, Color? fill, Color? stroke, bool? roundEndCaps, double? strokeWidthPx, List<int>? dashPattern})
→ void
-
Renders a simple line.
-
drawLink(Link link, LinkOrientation orientation, Color fill)
→ void
-
Draws a smooth link from source to target.
-
drawPie(CanvasPie canvasPie)
→ void
-
Renders a pie, with an optional hole in the center.
-
drawPoint({required Point<num> point, required double radius, Color? fill, Color? stroke, double? strokeWidthPx, BlendMode? blendMode})
→ void
-
Renders a simple point.
-
drawPolygon({required List<Point<num>> points, Rectangle<num>? clipBounds, Color? fill, Color? stroke, double? strokeWidthPx})
→ void
-
Renders a polygon shape described by a set of points.
-
drawRect(Rectangle<num> bounds, {Color? fill, Color? stroke, double? strokeWidthPx, Rectangle<num>? drawAreaBounds})
→ void
-
Renders a simple rectangle.
-
drawRRect(Rectangle<num> bounds, {Color? fill, Color? stroke, Color? patternColor, FillPatternType? fillPattern, double? patternStrokeWidthPx, double? strokeWidthPx, num? radius, bool roundTopLeft = false, bool roundTopRight = false, bool roundBottomLeft = false, bool roundBottomRight = false})
→ void
-
Renders a rounded rectangle.
-
drawText(TextElement textElement, int offsetX, int offsetY, {double rotation = 0.0})
→ void
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
resetClipBounds()
→ void
-
Restore
-
setClipBounds(Rectangle<int> clipBounds)
→ void
-
Request the canvas to clip to
clipBounds
.
-
toString()
→ String
-
A string representation of this object.
inherited