pcanvas_flutter library
Portable canvas library (Flutter implementation).
Classes
- CubicCurveTo
- A Cubic Bezier Curve to x y.
- DynamicDimension
- DynamicElementPosition
- DynamicPosition
- GLine
- GPanel
- A panel shape that can have sub-shapes (elements).
- GPath
- A path shape.
- Graphic
- A graphic built by simple shapes (GShape).
- GraphicContext
- GRectangle
- A simple rectangle shape.
- GShape
- GSVG
- A SVG shape.
- GSVGPath
- PCanvas
- Portable Canvas.
- PCanvasBackgroundGradient
- A simple gradient background.
- PCanvasClickEvent
-
A PCanvas click event.
See
PCanvas.onClick
. - PCanvasElement
- A base class for PCanvas elements.
- PCanvasElement2D
- PCanvasElement2DBase
- PCanvasEvent
- A PCanvas event.
- PCanvasFactory
- PCanvasFactoryFlutter
- PCanvasFlutter
- A PCanvas Flutter implementation.
- PCanvasGridPanel2D
- PCanvasImage
- Base class for PCanvas compatible images. See PCanvas.createCanvasImage.
- PCanvasKeyEvent
-
A PCanvas key event.
See
PCanvas.onKey
. - PCanvasPainter
- PCanvas painter base class.
- PCanvasPainterDummy
- A dummy PCanvasPainter implementation that won't perform any operation.
- PCanvasPanel2D
- PCanvasPixels
- Pixels of a PCanvas. See PCanvas.pixels.
- PCanvasPixelsABGR
-
PCanvasPixels in
ABGR
format. - PCanvasPixelsARGB
-
PCanvasPixels in
ARGB
format. - PCanvasPixelsRGBA
-
PCanvasPixels in
RGBA
format. - PCanvasState
- PCanvasStateExtra
- PcanvasTransform
- PCanvas transformation.
- PCanvasWidget
- A PCanvas Flutter Widget.
- PColor
- A PCanvas color.
- PColorRGB
- PColorRGBA
- PDimension
- A PCanvas dimension.
- PFont
- A PCanvas font.
- PGraphic
- A PCanvasElement that paints a Graphic.
- Point
- A PCanvas point.
- Position
- PRectangle
- A PCanvas rectangle.
- PRectangleElement
- A rectangle PCanvasElement2D.
- PStyle
- PTextMetric
- A PCanvas text metric.
- WithBoundingBox
- Interface for classes with a boundingBox.
- WithDimension
- WithElement
- Interface for classes with element.
- WithJson
- WithParentElement
- Interface for classes with a parent PCanvasElement.
- WithXY
Enums
Mixins
-
PCanvasElementContainer<
E extends PCanvasElement> - Mixin for a class that is a container for PCanvasElement.
Extensions
-
IterablePCanvasElementExtension
on Iterable<
PCanvasElement> -
ListGShapeExtension
on List<
G> -
ListPCanvasImageExtension
on List<
PCanvasImage> -
ListPointExtension
on List<
Point> -
PCanvasElementExtension
on List<
PCanvasElement> - PColorExtension on PColor
- PFontExtension on PFont
- PRectangleFlutterExtension on PRectangle
- PStyleExtension on PStyle
- WithJsonExtension on WithJson
Functions
Typedefs
-
PaintFunction
= FutureOr<
bool> Function(PCanvas pCanvas)