Uses of Class
com.example.brickpaint.CanvasPanel

  • Uses of CanvasPanel in com.example.brickpaint

    Fields in com.example.brickpaint with type parameters of type CanvasPanel
    Modifier and Type
    Field
    Description
    BrickPaintController.canvasPanels
    The current instance of the canvas where all drawing occurs within the paint app
    Methods in com.example.brickpaint that return CanvasPanel
    Modifier and Type
    Method
    Description
    BrickPaintController.getCanvas()
    Returns the current canvas panel that is selected in the Tab pane
    Methods in com.example.brickpaint with parameters of type CanvasPanel
    Modifier and Type
    Method
    Description
    static void
    BrickImage.Insert(CanvasPanel panel, javafx.scene.image.Image image)
    Adds an image to an imageView component in javaFX, scales imageView to the size of input image
    void
    UndoManager.LogU(CanvasPanel panel)
    Push the current canvas to history as an image, if the stack is larger than 100 items remove the oldest item
    void
    UndoManager.mergeToMark(CanvasPanel panel, org.apache.logging.log4j.Logger logger)
    Will reset the provided canvas to the point in history denoted by the mark value
    static void
    BrickImage.Paste(CanvasPanel panel, javafx.scene.image.Image image)
    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
    BrickImage.PasteRotate(CanvasPanel panel, javafx.scene.image.Image image, javafx.geometry.Point2D point)
    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