public class SVGIcon extends java.lang.Object implements Drawable2D
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
name |
private float |
scaling |
private geomerative.RPoint[][] |
svgPointPaths |
Constructor and Description |
---|
SVGIcon(java.lang.String name,
float scaling) |
Modifier and Type | Method and Description |
---|---|
void |
draw2D(processing.core.PGraphics context,
Transformation t) |
private void |
drawPointPath(geomerative.RPoint[] pointPath,
processing.core.PGraphics context) |
private void |
loadSVGPointPaths() |
private float scaling
private java.lang.String name
private geomerative.RPoint[][] svgPointPaths
public void draw2D(processing.core.PGraphics context, Transformation t)
draw2D
in interface Drawable2D
private void loadSVGPointPaths()
private void drawPointPath(geomerative.RPoint[] pointPath, processing.core.PGraphics context)