public final class SVGArrow extends Object
Modifier and Type | Class and Description |
---|---|
static class |
SVGArrow.Direction
Direction constants
|
Modifier and Type | Field and Description |
---|---|
static SVGArrow.Direction |
DOWN
Constant for "down"
|
static SVGArrow.Direction |
LEFT
Constant for "left"
|
static SVGArrow.Direction |
RIGHT
Constant for "right"
|
static SVGArrow.Direction |
UP
Constant for "up"
|
Constructor and Description |
---|
SVGArrow() |
Modifier and Type | Method and Description |
---|---|
static Element |
makeArrow(SVGPlot svgp,
SVGArrow.Direction dir,
double x,
double y,
double size)
Draw an arrow at the given position.
|
public static final SVGArrow.Direction UP
public static final SVGArrow.Direction DOWN
public static final SVGArrow.Direction RIGHT
public static final SVGArrow.Direction LEFT
public static Element makeArrow(SVGPlot svgp, SVGArrow.Direction dir, double x, double y, double size)
svgp
- Plot to draw todir
- Direction to drawx
- Center x coordinatey
- Center y coordinatesize
- Arrow size