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