Class PathElement
java.lang.Object
org.openscience.cdk.renderer.elements.PathElement
- All Implemented Interfaces:
IRenderingElement
A path composed of points.
- Source code:
- main
- Belongs to CDK module:
- renderbasic
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPathElement
(List<javax.vecmath.Point2d> points, Color color) Make a path from the list of points. -
Method Summary
-
Field Details
-
points
The points that make up the path. -
color
The color of the path.
-
-
Constructor Details
-
PathElement
Make a path from the list of points.- Parameters:
points
- points defining the pathcolor
- color of the path
-
-
Method Details
-
accept
Converts thisTextElement
into widget specific objects.- Specified by:
accept
in interfaceIRenderingElement
- Parameters:
v
- Toolkit specific widget factory.
-