PCanvasPainterDummy class

A dummy PCanvasPainter implementation that won't perform any operation.

Inheritance

Constructors

PCanvasPainterDummy()

Properties

hashCode int
The hash code for this object.
no setterinherited
isLoadingResources bool
Returns true if this painter is loading resources. See loadResources
no setterinherited
loadingFont PFont
The loading font of the default paintLoading implementation.
getter/setter pairinherited
loadingStyle PStyle
The loading style of the default paintLoading implementation.
getter/setter pairinherited
loadingText String
The loading text of the default paintLoading implementation.
getter/setter pairinherited
pCanvas PCanvas?
The PCanvas of this painter.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
zIndex int
Returns the z-index of the painter layer. Default: 0
no setterinherited

Methods

callLoadResources(PCanvas pCanvas) FutureOr<bool>
Calls loadResources.
inherited
clear(PCanvas pCanvas) → void
Clears the canvas.
override
dispatchOnClick(PCanvasClickEvent event) → void
Processes event and calls onClick.
inherited
dispatchOnClickDown(PCanvasClickEvent event) → void
Processes event and calls onClickDown.
inherited
dispatchOnClickMove(PCanvasClickEvent event) → void
Processes event and calls onClickMove.
inherited
dispatchOnClickUp(PCanvasClickEvent event) → void
Processes event and calls onClickUp.
inherited
dispatchOnKey(PCanvasKeyEvent event) → void
Processes event and calls onKey.
inherited
dispatchOnKeyDown(PCanvasKeyEvent event) → void
Processes event and calls onKeyDown.
inherited
dispatchOnKeyUp(PCanvasKeyEvent event) → void
Processes event and calls onKeyUp.
inherited
loadResources(PCanvas pCanvas) FutureOr<bool>
The load resource implementation.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onClick(PCanvasClickEvent event) → void
Canvas onClick handler.
inherited
onClickDown(PCanvasClickEvent event) → void
Canvas onClickDown handler.
inherited
onClickMove(PCanvasClickEvent event) → void
Canvas onClickMove handler.
inherited
onClickUp(PCanvasClickEvent event) → void
Canvas onClickUp handler.
inherited
onKey(PCanvasKeyEvent event) → void
Canvas onKey handler.
inherited
onKeyDown(PCanvasKeyEvent event) → void
Canvas onKeyDown handler.
inherited
onKeyUp(PCanvasKeyEvent event) → void
Canvas onKeyUp handler.
inherited
paint(PCanvas pCanvas) FutureOr<bool>
The paint operations.
override
paintElements(PCanvas pCanvas, List<PCanvasElement> elements, bool posPaint) FutureOr<bool>
Paint the elements.
inherited
paintLoading(PCanvas pCanvas) FutureOr<bool>
The paint operations while the canvas is loading. See isLoadingResources.
override
refresh() → void
Refreshes the canvas of this painter.
inherited
setup(PCanvas pCanvas) → void
inherited
toString() String
A string representation of this object.
inherited
waitLoading() FutureOr<bool>
Waits the loadResources.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited