Package ghidra.graph.viewer.renderer

# Class MouseDraggedLinePaintableShape

java.lang.Object
ghidra.graph.viewer.renderer.PaintableShape
ghidra.graph.viewer.renderer.MouseDraggedLinePaintableShape

public class MouseDraggedLinePaintableShape extends PaintableShape
Paints a line showing the start and end points of a drag operation.

- ## Field Summary

  ### Fields inherited from class ghidra.graph.viewer.renderer.PaintableShape

  `color, shape, shapeFinished, stroke, tx, ty`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `MouseDraggedLinePaintableShape(Point start, Point end, double tx, double ty)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `addPoint(Point p)`
  `void`
  `paint(Graphics2D g)`

  ### Methods inherited from class ghidra.graph.viewer.renderer.PaintableShape

  `getColor, getShape, getStroke, getTx, getTy, isShapeFinished, shapeFinished`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### MouseDraggedLinePaintableShape

    public MouseDraggedLinePaintableShape(Point start, Point end, double tx, double ty)

- ## Method Details

  - ### addPoint

    public void addPoint(Point p)

  - ### paint

    public void paint(Graphics2D g)
    Overrides:
      `paint` in class `PaintableShape`