CanvasTopLeftStubs
This trait provides stub methods to allow development on a Canvas with incomplete functionality. Override the methods as desired but remove this trait form the inheritance hierarchy once full functionality has been implemented
Value members
Concrete methods
Inherited methods
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.
- 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
- Inherited from:
- CanvasPlatform
- Inherited from:
- CanvasPlatform
Not sure why spacing has got a minus sign
Not sure why spacing has got a minus sign
- Inherited from:
- RectCenlign
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
- Inherited from:
- RectCenlign
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.
- Inherited from:
- CanvasPlatform
Inherited fields
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.
- 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.
- Inherited from:
- CanvasPlatform