Packages

 

com.aspose.imaging.fileformats.cmx.objectmodel.specs

Class CmxEllipseSpec

  • java.lang.Object
    • com.aspose.imaging.fileformats.cmx.objectmodel.specs.CmxEllipseSpec
    • Constructor Summary

      Constructors 
      Constructor and Description
      CmxEllipseSpec() 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      float getAngle1()
      Gets the first angle used for defining of pie sector.
      float getAngle2()
      Gets the second angle used for defining of pie sector.
      float getCenterX()
      Gets the X coordinate for the center of the rectangle.
      float getCenterY()
      Gets the Y coordinate for the center of the rectangle.
      float getDiameterX()
      Gets the diameter for X dimension of the rectangle.
      float getDiameterY()
      Gets the diameter for Y dimension of the rectangle.
      boolean getPie()
      Gets a value indicating whether this CmxEllipseSpec is a pie.
      float getRotation()
      Gets the angle of rotation of the ellipse.
      void setAngle1(float value)
      Sets the first angle used for defining of pie sector.
      void setAngle2(float value)
      Sets the second angle used for defining of pie sector.
      void setCenterX(float value)
      Sets the X coordinate for the center of the rectangle.
      void setCenterY(float value)
      Sets the Y coordinate for the center of the rectangle.
      void setDiameterX(float value)
      Sets the diameter for X dimension of the rectangle.
      void setDiameterY(float value)
      Sets the diameter for Y dimension of the rectangle.
      void setPie(boolean value)
      Sets a value indicating whether this CmxEllipseSpec is a pie.
      void setRotation(float value)
      Sets the angle of rotation of the ellipse.
      String toString()
      Returns a String that represents this instance.
    • Constructor Detail

      • CmxEllipseSpec

        public CmxEllipseSpec()
    • Method Detail

      • getAngle1

        public final float getAngle1()

        Gets the first angle used for defining of pie sector. Does no affect if Pie(CmxEllipseSpec.getPie()/CmxEllipseSpec.setPie(boolean)) is false. Measures in radians.

        Returns:
        the first angle used for defining of pie sector.
      • setAngle1

        public final void setAngle1(float value)

        Sets the first angle used for defining of pie sector. Does no affect if Pie(CmxEllipseSpec.getPie()/CmxEllipseSpec.setPie(boolean)) is false. Measures in radians.

        Parameters:
        value - the first angle used for defining of pie sector.
      • getAngle2

        public final float getAngle2()

        Gets the second angle used for defining of pie sector. Does no affect if Pie(CmxEllipseSpec.getPie()/CmxEllipseSpec.setPie(boolean)) is false. Measures in radians.

        Returns:
        the second angle used for defining of pie sector.
      • setAngle2

        public final void setAngle2(float value)

        Sets the second angle used for defining of pie sector. Does no affect if Pie(CmxEllipseSpec.getPie()/CmxEllipseSpec.setPie(boolean)) is false. Measures in radians.

        Parameters:
        value - the second angle used for defining of pie sector.
      • getRotation

        public final float getRotation()

        Gets the angle of rotation of the ellipse. Measures in radians.

        Returns:
        the angle of rotation of the ellipse.
      • setRotation

        public final void setRotation(float value)

        Sets the angle of rotation of the ellipse. Measures in radians.

        Parameters:
        value - the angle of rotation of the ellipse.
      • getPie

        public final boolean getPie()

        Gets a value indicating whether this CmxEllipseSpec is a pie.

        Returns:
        a value indicating whether this CmxEllipseSpec is a pie.
      • setPie

        public final void setPie(boolean value)

        Sets a value indicating whether this CmxEllipseSpec is a pie.

        Parameters:
        value - a value indicating whether this CmxEllipseSpec is a pie.
      • getCenterX

        public final float getCenterX()

        Gets the X coordinate for the center of the rectangle. Measures in common document distance units.

        Returns:
        the X coordinate for the center of the rectangle.
      • setCenterX

        public final void setCenterX(float value)

        Sets the X coordinate for the center of the rectangle. Measures in common document distance units.

        Parameters:
        value - the X coordinate for the center of the rectangle.
      • getCenterY

        public final float getCenterY()

        Gets the Y coordinate for the center of the rectangle. Measures in common document distance units.

        Returns:
        the Y coordinate for the center of the rectangle.
      • setCenterY

        public final void setCenterY(float value)

        Sets the Y coordinate for the center of the rectangle. Measures in common document distance units.

        Parameters:
        value - the Y coordinate for the center of the rectangle.
      • getDiameterX

        public final float getDiameterX()

        Gets the diameter for X dimension of the rectangle. Measures in common document distance units.

        Returns:
        the diameter for X dimension of the rectangle.
      • setDiameterX

        public final void setDiameterX(float value)

        Sets the diameter for X dimension of the rectangle. Measures in common document distance units.

        Parameters:
        value - the diameter for X dimension of the rectangle.
      • getDiameterY

        public final float getDiameterY()

        Gets the diameter for Y dimension of the rectangle. Measures in common document distance units.

        Returns:
        the diameter for Y dimension of the rectangle.
      • setDiameterY

        public final void setDiameterY(float value)

        Sets the diameter for Y dimension of the rectangle. Measures in common document distance units.

        Parameters:
        value - the diameter for Y dimension of the rectangle.
      • toString

        public String toString()

        Returns a String that represents this instance.

        Overrides:
        toString in class Object
        Returns:
        A String that represents this instance.