Package Shapes
Class FreeDrawShape
java.lang.Object
Shapes.MyShape
Shapes.FreeDrawShape
public class FreeDrawShape extends MyShape
shape that consists of points to allow the user to drag any line he wants
- Author:
- Itay Finci
-
Field Summary
-
Constructor Summary
Constructors Constructor Description FreeDrawShape(java.awt.Point origin, java.awt.Point target, java.awt.Color color, int thickness)a constructor to make new freeDrawShape -
Method Summary
-
Field Details
-
Constructor Details
-
FreeDrawShape
public FreeDrawShape(java.awt.Point origin, java.awt.Point target, java.awt.Color color, int thickness)a constructor to make new freeDrawShape- Parameters:
origin- the point the shape is startedtarget- the point the shape endcolor- the color of the shapethickness- the line thickness
-
-
Method Details