Package ghidra.graph.viewer.renderer
Class PaintableShape
java.lang.Object
ghidra.graph.viewer.renderer.PaintableShape
- Direct Known Subclasses:
MouseClickedPaintableShape
,MouseDraggedLinePaintableShape
,MouseDraggedPaintableShape
A base class for shapes that can be painted on the graph. See
MouseDebugPaintable
.-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
PaintableShape
(double tx, double ty) PaintableShape
(Shape s, Color c) PaintableShape
(Shape s, Color c, Stroke stroke) -
Method Summary
-
Field Details
-
shape
-
color
-
stroke
-
tx
protected double tx -
ty
protected double ty -
shapeFinished
protected boolean shapeFinished
-
-
Constructor Details
-
PaintableShape
protected PaintableShape(double tx, double ty) -
PaintableShape
-
PaintableShape
-
PaintableShape
-
-
Method Details
-
getTx
public double getTx() -
getTy
public double getTy() -
getShape
-
getColor
-
getStroke
-
shapeFinished
public void shapeFinished() -
isShapeFinished
public boolean isShapeFinished() -
paint
-