added Canvas Type parameter to GraphicsEnvironment and methods
added Canvas Type parameter to GraphicsEnvironment and methods
renamed GraphicsContext to GraphicsContext2D to prevent mixup with JavaFX. Further changes to allow more than one canvas and move state out of GraphicsEnvironment.
Further changes to allow more than one canvas and move state out of GraphicsEnvironment.
Fixed JavaFX Implementation to use type parameter for state
Fixed HTML5 Implementation to use type parameter for state