Class FXSelectionModel


  • public class FXSelectionModel
    extends Object
    Author:
    Kiyut
    • Constructor Detail

      • FXSelectionModel

        public FXSelectionModel​(FXCanvas canvas)
    • Method Detail

      • paint

        public void paint​(Graphics2D g2d)
        Paint the Selected Area
        Parameters:
        g2d - Graphics2D
      • getSelectionArea

        public Area getSelectionArea()
        Return a copy of selection Area, incase the area is modified externally
        Returns:
        Area
      • setSelectionArea

        public void setSelectionArea​(Area area)
        This methods take a copy of supplied parameter area, incase the area is modified externally
        Parameters:
        area - The Area
      • invertSelectionArea

        public void invertSelectionArea()