public final class AwtShapes extends Object implements ShapeRenderer.Shapes<RuntimeException>
ShapeRenderer.Shapes.Group<EX extends Exception>, ShapeRenderer.Shapes.Path<EX extends Exception>, ShapeRenderer.Shapes.Point, ShapeRenderer.Shapes.Style| Modifier and Type | Field and Description |
|---|---|
static Diagram.CanvasProvider<AwtShapes,RuntimeException> |
AWT |
| Modifier and Type | Method and Description |
|---|---|
void |
arc(ShapeRenderer.Shapes.Style style,
double cx,
double cy,
double radius,
double start,
double extent) |
double |
getHeight() |
String |
getName() |
double |
getWidth() |
void |
line(ShapeRenderer.Shapes.Style style,
double x1,
double y1,
double x2,
double y2) |
ShapeRenderer.Shapes.Path<RuntimeException> |
path(ShapeRenderer.Shapes.Style style) |
void |
polygon(ShapeRenderer.Shapes.Style style,
ShapeRenderer.Shapes.Point... points) |
void |
rect(ShapeRenderer.Shapes.Style style,
double x,
double y,
double width,
double height) |
void |
render(Graphics2D target) |
void |
roundRect(ShapeRenderer.Shapes.Style style,
double x,
double y,
double width,
double height,
double diameter) |
void |
text(TextGlyphs text,
double x,
double y) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbegin, end, grouppublic static final Diagram.CanvasProvider<AwtShapes,RuntimeException> AWT
public String getName()
public double getWidth()
public double getHeight()
public void render(Graphics2D target)
public void roundRect(ShapeRenderer.Shapes.Style style, double x, double y, double width, double height, double diameter)
roundRect in interface ShapeRenderer.Shapes<RuntimeException>public void rect(ShapeRenderer.Shapes.Style style, double x, double y, double width, double height)
rect in interface ShapeRenderer.Shapes<RuntimeException>public void arc(ShapeRenderer.Shapes.Style style, double cx, double cy, double radius, double start, double extent)
arc in interface ShapeRenderer.Shapes<RuntimeException>public void line(ShapeRenderer.Shapes.Style style, double x1, double y1, double x2, double y2)
line in interface ShapeRenderer.Shapes<RuntimeException>public void polygon(ShapeRenderer.Shapes.Style style, ShapeRenderer.Shapes.Point... points)
polygon in interface ShapeRenderer.Shapes<RuntimeException>public void text(TextGlyphs text, double x, double y)
text in interface ShapeRenderer.Shapes<RuntimeException>public ShapeRenderer.Shapes.Path<RuntimeException> path(ShapeRenderer.Shapes.Style style)
path in interface ShapeRenderer.Shapes<RuntimeException>Copyright © 2019. All rights reserved.