Class Rect
- java.lang.Object
-
- com.sksamuel.scrimage.canvas.drawables.Rect
-
-
Constructor Summary
Constructors Constructor Description Rect(int x, int y, int width, int height)
Rect(int x, int y, int width, int height, GraphicsContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GraphicsContext
context()
void
draw(RichGraphics2D g)
FilledRect
toFilled()
-
-
-
Constructor Detail
-
Rect
public Rect(int x, int y, int width, int height)
-
Rect
public Rect(int x, int y, int width, int height, GraphicsContext context)
-
-
Method Detail
-
draw
public void draw(RichGraphics2D g)
-
toFilled
public FilledRect toFilled()
-
context
public GraphicsContext context()
-
-