Package prezoom.model.GObject
Class GRectangle
- java.lang.Object
-
- prezoom.model.GObject.GObject
-
- prezoom.model.GObject.GRectangle
-
- All Implemented Interfaces:
Serializable
public class GRectangle extends GObject
The rectangle objects- Author:
- Zhijie Lan
create date: 2020/11/1
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GRectangle(double x, double y, double w, double h, Color col, Boolean filled, int lineWidth)
-
Method Summary
Modifier and Type Method Description voiddraw(Graphics2D g)generate the shape to draw-
Methods inherited from class prezoom.model.GObject.GObject
drawing, getAttributeManager, getCurrentAttributes, getResizePoints, inShape
-
-
-
-
Method Detail
-
draw
public void draw(Graphics2D g)
generate the shape to draw
-
-