Class PathElement

    • Field Detail

      • type

        public final Type type
        the type of the path element.
    • Constructor Detail

      • PathElement

        public PathElement​(Type type)
        Create a path element.
        Parameters:
        type - Type of this path element
    • Method Detail

      • type

        public Type type()
        Get the type of the path element.
        Returns:
        the type of the path element
      • points

        @Deprecated
        public abstract float[] 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)