A DESCRIPTION OF THE REQUEST :
The JavaFX Canvas API should have a feature that allows the application to move / shift the current content of the Canvas to the left / right or up / down, or both.
JUSTIFICATION :
Applications using the Canvas could greatly benefit from this as it would mean that the entire content of the Canvas (the graphics) does not have to be redrawn completely every time the graphics need to be updated. Applications would only need to draw the area that has been freed by the move.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
The behavior should be similar to the behavior of the JViewport class of Swing when the application uses the BLIT_SCROLL_MODE.
The JavaFX Canvas API should have a feature that allows the application to move / shift the current content of the Canvas to the left / right or up / down, or both.
JUSTIFICATION :
Applications using the Canvas could greatly benefit from this as it would mean that the entire content of the Canvas (the graphics) does not have to be redrawn completely every time the graphics need to be updated. Applications would only need to draw the area that has been freed by the move.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
The behavior should be similar to the behavior of the JViewport class of Swing when the application uses the BLIT_SCROLL_MODE.