-
The current instance of the canvas where all drawing occurs within the paint app
Returns the current canvas panel that is selected in the Tab pane
static void
Adds an image to an imageView component in javaFX, scales imageView to the size of input image
void
Push the current canvas to history as an image, if the stack is larger than 100 items remove the oldest item
void
Will reset the provided canvas to the point in history denoted by the mark value
static void
Adds an image to a Canvas component in javaFX at the point (0,0)
static void
BrickImage.Paste(CanvasPanel panel,
javafx.scene.image.Image image,
javafx.geometry.Point2D point)
Adds an image to a Canvas component in javaFX at a specified position
static void
Adds an image to a Canvas component in javaFX at a specified position and rescales the canvas if needed
void
UndoManager.Redo(CanvasPanel panel,
org.apache.logging.log4j.Logger logger)
Re-write the last undo action to the provided canvas
void
UndoManager.Undo(CanvasPanel panel,
org.apache.logging.log4j.Logger logger)
Resets the provided canvas to the last logged state