Class PathElement

java.lang.Object
org.openscience.cdk.renderer.elements.PathElement
All Implemented Interfaces:
IRenderingElement

public class PathElement extends Object implements IRenderingElement
A path composed of points.
Source code:
main
Belongs to CDK module:
renderbasic
  • Field Details

    • points

      public final List<javax.vecmath.Point2d> points
      The points that make up the path.
    • color

      public final Color color
      The color of the path.
  • Constructor Details

    • PathElement

      public PathElement(List<javax.vecmath.Point2d> points, Color color)
      Make a path from the list of points.
      Parameters:
      points - points defining the path
      color - color of the path
  • Method Details