@TestClass(value="org.openscience.cdk.renderer.elements.PathElementTest") public class PathElement extends Object implements IRenderingElement
Modifier and Type | Field and Description |
---|---|
Color |
color
The color of the path.
|
List<javax.vecmath.Point2d> |
points
The points that make up the path.
|
Constructor and Description |
---|
PathElement(List<javax.vecmath.Point2d> points,
Color color)
Make a path from the list of points.
|
public final List<javax.vecmath.Point2d> points
public final Color color
@TestMethod(value="testConstructor") public PathElement(List<javax.vecmath.Point2d> points, Color color)
points
- points defining the pathcolor
- color of the path@TestMethod(value="testAccept") public void accept(IRenderingVisitor v)
TextElement
into widget specific objects.accept
in interface IRenderingElement
v
- Toolkit specific widget factory.