pcanvas_html library
Portable canvas library (Web 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
- PCanvasGridPanel2D
- PCanvasHTML
- PCanvasHTMLStateExtra
- 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.
- 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
- CanvasElementExtension on CanvasElement
-
IterablePCanvasElementExtension
on Iterable<
PCanvasElement> -
ListGShapeExtension
on List<
GShape> -
ListPCanvasImageExtension
on List<
PCanvasImage> -
ListPointExtension
on List<
Point> - PCanvasCursorCSSExtension on PCanvasCursor
-
PCanvasElementExtension
on List<
PCanvasElement> - PRectangleHTMLExtension on PRectangle
- WithJsonExtension on WithJson
Functions
Typedefs
-
PaintFunction
= FutureOr<
bool> Function(PCanvas pCanvas)