com.aspose.pdf.drawing

Class Circle



  • public final class Circle
    extends Shape

    Represents circle.

    • Constructor Summary

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

      Methods 
      Modifier and Type Method and Description
      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 circle.
      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 circle.
    • Constructor Detail

      • Circle

        public Circle()

        For Internal usage only

      • Circle

        public Circle(float posX,
              float posY,
              float radius)

        Initializes a new instance of the Circle class.

        Parameters:
        posX - The x-coordinate of the center of the circle.
        posY - The y-coordinate of the center of the circle.
        radius - The radius of the circle.
    • 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 circle.

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

        public void setRadius(double value)

        Sets float value that indicates the radius of the circle.

        Parameters:
        value - that indicates the radius of the circle.