java.lang.Object
org.openscience.cdk.renderer.elements.path.PathElement
org.openscience.cdk.renderer.elements.path.Close

public class Close extends PathElement
Indicates the closing point of the path.
Author:
Arvid
Source code:
main
Belongs to CDK module:
renderbasic
  • Field Summary

    Fields inherited from class org.openscience.cdk.renderer.elements.path.PathElement

    type
  • Constructor Summary

    Constructors
    Constructor
    Description
    Make a Close PathElement.
  • Method Summary

    Modifier and Type
    Method
    Description
    float[]
    Get the points in the path.
    void
    points(double[] coords)
    Load the provided array with the specified coordinates of this path element.

    Methods inherited from class org.openscience.cdk.renderer.elements.path.PathElement

    type

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Close

      public Close()
      Make a Close PathElement.
  • Method Details

    • points

      public float[] points()
      Get the points in the path.
      Specified by:
      points in class PathElement
      Returns:
      a list of points
    • points

      public void points(double[] coords)
      Load the provided array with the specified coordinates of this path element.
      Specified by:
      points in class PathElement
      Parameters:
      coords - coordinates (length = 6)