Package elki.visualization.svg
Class SVGArrow
- java.lang.Object
-
- elki.visualization.svg.SVGArrow
-
public final class SVGArrow extends java.lang.Object
Static class for drawing simple arrows- Since:
- 0.5.5
- Author:
- Erich Schubert, Robert Rödler
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SVGArrow.Direction
Direction constants
-
Constructor Summary
Constructors Modifier Constructor Description private
SVGArrow()
Private constructor.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.w3c.dom.Element
makeArrow(SVGPlot svgp, SVGArrow.Direction dir, double x, double y, double size)
Draw an arrow at the given position.
-
-
-
Method Detail
-
makeArrow
public static org.w3c.dom.Element makeArrow(SVGPlot svgp, SVGArrow.Direction dir, double x, double y, double size)
Draw an arrow at the given position. Note: the arrow is an unstyled svg path. You need to apply style afterwards.- Parameters:
svgp
- Plot to draw todir
- Direction to drawx
- Center x coordinatey
- Center y coordinatesize
- Arrow size- Returns:
- SVG Element
-
-