CanvasJs
An implementation of CanvasPlatform for Scala.js using Web canvas.
Attributes
- Graph
-
- Supertypes
-
trait CanvasTopLefttrait CanvasPlatformtrait RectCenligntrait Rectangularligntrait OrdinalEdgePointstrait WithCentreclass Objecttrait Matchableclass AnyShow all
- Self type
-
CanvasJs.type
Members list
Value members
Concrete methods
Attributes
- Definition Classes
Restore GraphicContext usually used for the Clip Frame. Nothing to do with file loading.
Restore GraphicContext usually used for the Clip Frame. Nothing to do with file loading.
Attributes
- Definition Classes
Save GraphicContext state usually used for the Clip Frame. Nothing to do with file saving.
Save GraphicContext state usually used for the Clip Frame. Nothing to do with file saving.
Attributes
- Definition Classes
Returns the system (Unix) time in milliseconds.
Attributes
- Definition Classes
Attributes
- Definition Classes
Attributes
- Definition Classes
A call back timer. Takes the delay in milliseconds
Attributes
- Definition Classes
Attributes
- Definition Classes
Inherited methods
Attributes
- Inherited from:
- CanvasPlatform
Attributes
- Definition Classes
- Inherited from:
- CanvasTopLeft
Attributes
- Inherited from:
- OrdinalEdgePoints
Attributes
- Definition Classes
- Inherited from:
- RectCenlign
Attributes
- Definition Classes
- Inherited from:
- RectCenlign
Attributes
- Definition Classes
- Inherited from:
- RectCenlign
Attributes
- Inherited from:
- OrdinalEdgePoints
Draws a circular arc on the canvas.
The centre of this geometric / graphical element. The centre will not change if the object type is capable of being rotated and is rotated. The cenDefault on other bounded elements may move relative to points on the object when the object is rotated.
The centre of this geometric / graphical element. The centre will not change if the object type is capable of being rotated and is rotated. The cenDefault on other bounded elements may move relative to points on the object when the object is rotated.
Attributes
- Definition Classes
- Inherited from:
- RectCenlign
Attributes
- Inherited from:
- RectCenlign
The X component of the centre.
The Y component of the centre.
Side effecting procedure that draws a circle on the screen. Implemented by the target platform.
Side effecting procedure that draws a circle on the screen. Implemented by the target platform.
Attributes
- Definition Classes
- Inherited from:
- CanvasTopLeft
Side effecting procedure that fills a circle. Implemented by the target platform.
Side effecting procedure that fills a circle. Implemented by the target platform.
Attributes
- Definition Classes
- Inherited from:
- CanvasTopLeft
Attributes
- Definition Classes
- Inherited from:
- CanvasTopLeft
Attributes
- Definition Classes
- Inherited from:
- CanvasTopLeft
Attributes
- Inherited from:
- RectCenlign
To be removed from CanvasPlatform.
Draws an elliptical arc on the canvas.
Side effecting procedure that draws an ellipse on the screen. Implemented by the target platform.
Side effecting procedure that draws an ellipse on the screen. Implemented by the target platform.
Attributes
- Definition Classes
- Inherited from:
- CanvasTopLeft
Side effecting procedure that fills an ellipse on the screen. Implemented by the target platform.
Side effecting procedure that fills an ellipse on the screen. Implemented by the target platform.
Attributes
- Definition Classes
- Inherited from:
- CanvasTopLeft
A callback timer with an elapsed time from a given start point. Although are in a general purpose form, the most common usage is for animations where things move dependent on how much time has passed. The function is of form: (elapsedTime(in milliseconds), Startime (in milliseconds) => Unit. The startTime is to be used to call the next frame at then end of the function, if another frame is needed.
A callback timer with an elapsed time from a given start point. Although are in a general purpose form, the most common usage is for animations where things move dependent on how much time has passed. The function is of form: (elapsedTime(in milliseconds), Startime (in milliseconds) => Unit. The startTime is to be used to call the next frame at then end of the function, if another frame is needed.
Attributes
- Inherited from:
- CanvasPlatform
Attributes
- Inherited from:
- CanvasPlatform
Attributes
- Inherited from:
- CanvasPlatform
Attempts to find find and load file, attempts to parse the file, attempts to find object of type A. If all stages successful, calls procedure (Unit returning function) with that object of type A
Attempts to find find and load file, attempts to parse the file, attempts to find object of type A. If all stages successful, calls procedure (Unit returning function) with that object of type A
Attributes
- Inherited from:
- CanvasPlatform
Attributes
- Inherited from:
- CanvasPlatform
Attributes
- Inherited from:
- CanvasPlatform
Not sure why spacing has got a minus sign
Badly named I think, not sure why spacing has got a minus sign
Badly named I think, not sure why spacing has got a minus sign
Attributes
- Inherited from:
- RectCenlign
Attributes
- Definition Classes
- Inherited from:
- RectCenlign
Attributes
- Inherited from:
- CanvasPlatform
Attributes
- Definition Classes
- Inherited from:
- CanvasTopLeft
Attributes
- Definition Classes
- Inherited from:
- CanvasTopLeft
Attributes
- Inherited from:
- CanvasTopLeft
Attributes
- Inherited from:
- CanvasTopLeft
Attributes
- Inherited from:
- CanvasTopLeft
Attributes
- Inherited from:
- CanvasTopLeft
Attributes
- Inherited from:
- CanvasTopLeft
Attributes
- Definition Classes
- Inherited from:
- CanvasTopLeft
Attributes
- Definition Classes
- Inherited from:
- CanvasTopLeft
Attributes
- Definition Classes
- Inherited from:
- CanvasTopLeft
Attributes
- Definition Classes
- Inherited from:
- CanvasTopLeft
Attributes
- Definition Classes
- Inherited from:
- CanvasTopLeft
Attributes
- Inherited from:
- RectCenlign
Attributes
- Inherited from:
- CanvasPlatform
Attributes
- Inherited from:
- CanvasPlatform
Attributes
- Inherited from:
- CanvasPlatform
Attributes
- Definition Classes
- Inherited from:
- RectCenlign
Attributes
- Inherited from:
- CanvasPlatform
Attributes
- Inherited from:
- CanvasPlatform
The initial frame although are in a general purpose form, the most common usage is for animations where things move dependent on how much time has passed.
The initial frame although are in a general purpose form, the most common usage is for animations where things move dependent on how much time has passed.
Attributes
- Inherited from:
- CanvasPlatform
Attributes
- Inherited from:
- CanvasPlatform
Attributes
- Definition Classes
- Inherited from:
- CanvasTopLeft
Attributes
- Definition Classes
- Inherited from:
- CanvasTopLeft
Attributes
- Inherited from:
- CanvasTopLeft
Attributes
- Inherited from:
- OrdinalEdgePoints
Attributes
- Inherited from:
- CanvasPlatform
Attributes
- Definition Classes
- Inherited from:
- RectCenlign
Attributes
- Definition Classes
- Inherited from:
- RectCenlign
Attributes
- Definition Classes
- Inherited from:
- RectCenlign
Top right offset from centre.
Attributes
- Definition Classes
- Inherited from:
- RectCenlign
Attributes
- Definition Classes
- Inherited from:
- RectCenlign
Attributes
- Definition Classes
- Inherited from:
- RectCenlign
Attributes
- Definition Classes
- Inherited from:
- RectCenlign
Attributes
- Definition Classes
- Inherited from:
- RectCenlign
Attributes
- Definition Classes
- Inherited from:
- RectCenlign
Attributes
- Definition Classes
- Inherited from:
- RectCenlign
Attributes
- Definition Classes
- Inherited from:
- RectCenlign
Inherited fields
Attributes
- Inherited from:
- CanvasPlatform
Attributes
- Inherited from:
- CanvasPlatform
The canvas implementation will call this function when the mouse button is depressed. Named after Javascript command.
The canvas implementation will call this function when the mouse button is depressed. Named after Javascript command.
Attributes
- Inherited from:
- CanvasPlatform
Attributes
- Inherited from:
- CanvasPlatform
Attributes
- Inherited from:
- CanvasPlatform
The canvas implementation will call this function when a mouse button is released. Named after Javascript command.
The canvas implementation will call this function when a mouse button is released. Named after Javascript command.
Attributes
- Inherited from:
- CanvasPlatform
Attributes
- Inherited from:
- CanvasPlatform
Attributes
- Inherited from:
- CanvasPlatform
returns true if the shift key isdepressed.