Interface PathElement2afp

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      double getCtrlX1()
      Replies the x coordinate of the first control point.
      double getCtrlX2()
      Replies the x coordinate of the second control point.
      double getCtrlY1()
      Replies the y coordinate of the first control point.
      double getCtrlY2()
      Replies the y coordinate of the second control point.
      double getFromX()
      Replies the x coordinate of the starting point.
      double getFromY()
      Replies the y coordinate of the starting point.
      boolean getLargeArcFlag()
      Replies if the arc-to will sweep clockwise around the ellipse.
      double getRadiusX()
      Replies the x radius of the arc-to ellipse.
      double getRadiusY()
      Replies the y radius of the arc-to ellipse.
      double getRotationX()
      Replies the rotation of the x axis of the arc-to ellipse.
      boolean getSweepFlag()
      Replies if the arc-to will sweep the long way around the ellipse.
      double getToX()
      Replies the x coordinate of the target point.
      double getToY()
      Replies the y coordinate of the target point.
      PathElementType getType()
      Replies the type of the element.
      void toArray​(double[] array)
      Copy the coords into the given array, except the source point.
      void toArray​(int[] array)
      Copy the coords into the given array, except the source point.
    • Method Detail

      • getFromX

        @Pure
        double getFromX()
        Replies the x coordinate of the starting point.
        Returns:
        the x coordinate, or 0 if the type is PathElementType.MOVE_TO.
      • getFromY

        @Pure
        double getFromY()
        Replies the y coordinate of the starting point.
        Returns:
        the y coordinate, or 0 if the type is PathElementType.MOVE_TO.
      • getToX

        @Pure
        double getToX()
        Replies the x coordinate of the target point.
        Returns:
        the x coordinate.
      • getToY

        @Pure
        double getToY()
        Replies the y coordinate of the target point.
        Returns:
        the y coordinate.
      • toArray

        @Pure
        void toArray​(int[] array)
        Copy the coords into the given array, except the source point.
        Parameters:
        array - the output array.
      • toArray

        @Pure
        void toArray​(double[] array)
        Copy the coords into the given array, except the source point.
        Parameters:
        array - the output array.
      • getRadiusX

        @Pure
        double getRadiusX()
        Replies the x radius of the arc-to ellipse.
        Returns:
        the x radius, or 0 if the type is not PathElementType.ARC_TO.
      • getRadiusY

        @Pure
        double getRadiusY()
        Replies the y radius of the arc-to ellipse.
        Returns:
        the y radius, or 0 if the type is not PathElementType.ARC_TO.
      • getRotationX

        @Pure
        double getRotationX()
        Replies the rotation of the x axis of the arc-to ellipse.
        Returns:
        the x axis rotation, or 0 if the type is not PathElementType.ARC_TO.
      • getSweepFlag

        @Pure
        boolean getSweepFlag()
        Replies if the arc-to will sweep the long way around the ellipse.
        Returns:
        true iff the element will sweep clockwise around the ellipse, or 0 if the type is not PathElementType.ARC_TO.
      • getLargeArcFlag

        @Pure
        boolean getLargeArcFlag()
        Replies if the arc-to will sweep clockwise around the ellipse.
        Returns:
        true iff the element will sweep clockwise around the ellipse, or 0 if the type is not PathElementType.ARC_TO.