public class SVGShapes extends Object implements ShapeRenderer.Shapes<XMLStreamException>
| Modifier and Type | Class and Description |
|---|---|
static class |
SVGShapes.DOMFactory |
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 SVGShapes.DOMFactory |
SVG_DOM |
| Modifier and Type | Method and Description |
|---|---|
void |
arc(ShapeRenderer.Shapes.Style style,
double cx,
double cy,
double radius,
double start,
double extent) |
void |
begin() |
void |
end() |
ShapeRenderer.Shapes.Group<XMLStreamException> |
group(String link) |
void |
line(ShapeRenderer.Shapes.Style style,
double x1,
double y1,
double x2,
double y2) |
org.opencypher.railroad.SVGShapes.SVGPath |
path(ShapeRenderer.Shapes.Style style) |
void |
rect(ShapeRenderer.Shapes.Style style,
double x,
double y,
double width,
double height) |
void |
roundRect(ShapeRenderer.Shapes.Style style,
double x,
double y,
double width,
double height,
double diameter) |
static Diagram.CanvasProvider<SVGShapes,XMLStreamException> |
svgFile(Function<String,Output> output) |
void |
text(TextGlyphs text,
double x,
double y) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpolygonpublic static final SVGShapes.DOMFactory SVG_DOM
public static Diagram.CanvasProvider<SVGShapes,XMLStreamException> svgFile(Function<String,Output> output)
public void begin()
throws XMLStreamException
begin in interface ShapeRenderer.Shapes<XMLStreamException>XMLStreamExceptionpublic void roundRect(ShapeRenderer.Shapes.Style style, double x, double y, double width, double height, double diameter) throws XMLStreamException
roundRect in interface ShapeRenderer.Shapes<XMLStreamException>XMLStreamExceptionpublic void rect(ShapeRenderer.Shapes.Style style, double x, double y, double width, double height) throws XMLStreamException
rect in interface ShapeRenderer.Shapes<XMLStreamException>XMLStreamExceptionpublic void arc(ShapeRenderer.Shapes.Style style, double cx, double cy, double radius, double start, double extent) throws XMLStreamException
arc in interface ShapeRenderer.Shapes<XMLStreamException>XMLStreamExceptionpublic void line(ShapeRenderer.Shapes.Style style, double x1, double y1, double x2, double y2) throws XMLStreamException
line in interface ShapeRenderer.Shapes<XMLStreamException>XMLStreamExceptionpublic void text(TextGlyphs text, double x, double y) throws XMLStreamException
text in interface ShapeRenderer.Shapes<XMLStreamException>XMLStreamExceptionpublic org.opencypher.railroad.SVGShapes.SVGPath path(ShapeRenderer.Shapes.Style style)
path in interface ShapeRenderer.Shapes<XMLStreamException>public void end()
throws XMLStreamException
end in interface ShapeRenderer.Shapes<XMLStreamException>XMLStreamExceptionpublic ShapeRenderer.Shapes.Group<XMLStreamException> group(String link) throws XMLStreamException
group in interface ShapeRenderer.Shapes<XMLStreamException>XMLStreamExceptionCopyright © 2019. All rights reserved.