com.aspose.pdf.drawing

Class Arc



  • public final class Arc
    extends Shape

    Represents arc.

    • Constructor Summary

      Constructors 
      Constructor and Description
      Arc()
      For Internal usage only
      Arc(double posX, double posY, double radius, double alpha, double beta)
      Initializes a new instance of the Arc class.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      double getAlpha()
      Gets float value that indicates the beginning angle degree of the arc.
      double getBeta()
      Gets float value that indicates the ending angle degree of the arc.
      double getPosX()
      Gets float value that indicates the x-coordinate of the center of the arc.
      double getPosY()
      Gets float value that indicates the y-coordinate of the center of the arc.
      double getRadius()
      Gets float value that indicates the radius of the arc.
      void setAlpha(double value)
      Sets float value that indicates the beginning angle degree of the arc.
      void setBeta(double value)
      Sets float value that indicates the ending angle degree of the arc.
      void setPosX(double value)
      Sets float value that indicates the x-coordinate of the center of the arc.
      void setPosY(double value)
      Sets float value that indicates the y-coordinate of the center of the arc.
      void setRadius(double value)
      Sets float value that indicates the radius of the arc.
    • Constructor Detail

      • Arc

        public Arc()

        For Internal usage only

      • Arc

        public Arc(double posX,
                   double posY,
                   double radius,
                   double alpha,
                   double beta)

        Initializes a new instance of the Arc class.

        Parameters:
        posX - The x-coordinate of the center point of the arc.
        posY - The y-coordinate of the center point of the arc.
        radius - The radius value of the arc.
        alpha - The beginning angle value of the arc.
        beta - The end angle value of the arc.
    • Method Detail

      • getPosX

        public double getPosX()

        Gets float value that indicates the x-coordinate of the center of the arc.

        Returns:
        x-coordinate of the center of the arc.
      • setPosX

        public void setPosX(double value)

        Sets float value that indicates the x-coordinate of the center of the arc.

        Parameters:
        value - x-coordinate of the center of the arc.
      • getPosY

        public double getPosY()

        Gets float value that indicates the y-coordinate of the center of the arc.

        Returns:
        y-coordinate of the center of the arc.
      • setPosY

        public void setPosY(double value)

        Sets float value that indicates the y-coordinate of the center of the arc.

        Parameters:
        value - y-coordinate of the center of the arc.
      • getRadius

        public double getRadius()

        Gets float value that indicates the radius of the arc.

        Returns:
        value that indicates the radius of the arc.
      • setRadius

        public void setRadius(double value)

        Sets float value that indicates the radius of the arc.

        Parameters:
        value - that indicates the radius of the arc.
      • getAlpha

        public double getAlpha()

        Gets float value that indicates the beginning angle degree of the arc.

        Returns:
        alpha value.
      • setAlpha

        public void setAlpha(double value)

        Sets float value that indicates the beginning angle degree of the arc.

        Parameters:
        value - alpha value.
      • getBeta

        public double getBeta()

        Gets float value that indicates the ending angle degree of the arc.

        Returns:
        beta value
      • setBeta

        public void setBeta(double value)

        Sets float value that indicates the ending angle degree of the arc.

        Parameters:
        value - beta value