Class PaintableShape

java.lang.Object
ghidra.graph.viewer.renderer.PaintableShape
Direct Known Subclasses:
MouseClickedPaintableShape, MouseDraggedLinePaintableShape, MouseDraggedPaintableShape

public class PaintableShape extends Object
A base class for shapes that can be painted on the graph. See MouseDebugPaintable.
  • Field Details Link icon

    • shape Link icon

      protected Shape shape
    • color Link icon

      protected Color color
    • stroke Link icon

      protected Stroke stroke
    • tx Link icon

      protected double tx
    • ty Link icon

      protected double ty
    • shapeFinished Link icon

      protected boolean shapeFinished
  • Constructor Details Link icon

    • PaintableShape Link icon

      protected PaintableShape(double tx, double ty)
    • PaintableShape Link icon

      public PaintableShape(Shape s)
    • PaintableShape Link icon

      public PaintableShape(Shape s, Color c)
    • PaintableShape Link icon

      public PaintableShape(Shape s, Color c, Stroke stroke)
  • Method Details Link icon

    • getTx Link icon

      public double getTx()
    • getTy Link icon

      public double getTy()
    • getShape Link icon

      public Shape getShape()
    • getColor Link icon

      public Color getColor()
    • getStroke Link icon

      public Stroke getStroke()
    • shapeFinished Link icon

      public void shapeFinished()
    • isShapeFinished Link icon

      public boolean isShapeFinished()
    • paint Link icon

      public void paint(Graphics2D g)