Class PathElement
java.lang.Object
org.openscience.cdk.renderer.elements.path.PathElement
A path element.
- Author:
- Arvid
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract float[]points()Deprecated.abstract voidpoints(double[] coords) Load the provided array with the specified coordinates of this path element.voidpoints(float[] coords) Load the provided array with the specified coordinates of this path element.toString()type()Get the type of the path element.
-
Field Details
-
type
the type of the path element.
-
-
Constructor Details
-
PathElement
Create a path element.- Parameters:
type-Typeof this path element
-
-
Method Details
-
type
Get the type of the path element.- Returns:
- the type of the path element
-
points
Deprecated.Get the points in the path.- Returns:
- a list of points
-
points
public abstract void points(double[] coords) Load the provided array with the specified coordinates of this path element.- Parameters:
coords- coordinates (length = 6)
-
points
public void points(float[] coords) Load the provided array with the specified coordinates of this path element.- Parameters:
coords- coordinates (length = 6)
-
toString
-