Package com.algo.rendering
Class Arrow
- java.lang.Object
-
- com.algo.rendering.Arrow
-
- All Implemented Interfaces:
java.io.Serializable
public class Arrow extends java.lang.Object implements java.io.Serializable
All public static arrows should have their pointer at the origin and their maximum x-length should be 1, so that scaling the arrow across all types becomes consistent.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Arrow.LineFlag
-
Constructor Summary
Constructors Constructor Description Arrow(double[] xPoints, double[] yPoints, int count, double endPoint, Arrow.LineFlag flag)
-
-
-
Field Detail
-
TYPE2
public static final Arrow TYPE2
-
xPoints
public double[] xPoints
-
yPoints
public double[] yPoints
-
count
public int count
-
endPoint
public double endPoint
-
flag
public Arrow.LineFlag flag
-
-
Constructor Detail
-
Arrow
public Arrow(double[] xPoints, double[] yPoints, int count, double endPoint, Arrow.LineFlag flag)
-
-