Packages

 

com.aspose.cad.fileformats.cad.cadobjects

Interfaces

Classes

com.aspose.cad.fileformats.cad.cadobjects

Class CadEllipse



  • public class CadEllipse
    extends CadArc

    Class describing Cad ellipse

    • Constructor Detail

      • CadEllipse

        public CadEllipse(Cad3DPoint centerPoint,
                          Cad3DPoint majorEndPoint,
                          double axisRatio)

        Initializes a new instance of the CadEllipse class.

        Parameters:
        centerPoint - Start point.
        majorEndPoint - Endpoint of major axis.
        axisRatio - Ratio of minor axis to major axis.
        Throws:
        com.aspose.ms.System.ArgumentNullException - Thrown when one of arguments is null
    • Method Detail

      • getTypeName

        public int getTypeName()

        Gets the name of the type.

        Overrides:
        getTypeName in class CadArc
        Returns:
        The name of the type.
      • setCenterPoint

        public void setCenterPoint(Cad3DPoint value)

        Gets or sets the centerPoint.

        Overrides:
        setCenterPoint in class CadCircle
        Parameters:
        value - The centerPoint.
      • getAxisRatio

        public final double getAxisRatio()

        Gets or sets the radius.

        Returns:
        The radius.
      • setAxisRatio

        public final void setAxisRatio(double value)

        Gets or sets the radius.

        Parameters:
        value - The radius.
      • getStartAngle

        public double getStartAngle()

        Gets or sets the Start angle.

        Overrides:
        getStartAngle in class CadArc
        Returns:
        Start angle.
      • setStartAngle

        public void setStartAngle(double value)

        Gets or sets the Start angle.

        Overrides:
        setStartAngle in class CadArc
        Parameters:
        value - Start angle.
      • getEndAngle

        public double getEndAngle()

        Gets or sets the End angle.

        Overrides:
        getEndAngle in class CadArc
        Returns:
        End angle.
      • setEndAngle

        public void setEndAngle(double value)

        Gets or sets the End angle.

        Overrides:
        setEndAngle in class CadArc
        Parameters:
        value - End angle.
      • getCounterclockwiseFlag

        public final short getCounterclockwiseFlag()

        Gets or sets the counterclockwise flag.

        Returns:
        The counterclockwise flag.
      • setCounterclockwiseFlag

        public final void setCounterclockwiseFlag(short value)

        Gets or sets the counterclockwise flag.

        Parameters:
        value - The counterclockwise flag.
      • getMajorEndPoint

        public final Cad3DPoint getMajorEndPoint()

        Gets or sets the majour end point.

        Returns:
        The majour end point.
      • setMajorEndPoint

        public final void setMajorEndPoint(Cad3DPoint value)

        Gets or sets the majour end point.

        Parameters:
        value - The majour end point.
      • getMinorEndPoint

        public final Cad3DPoint getMinorEndPoint()

        Gets the minor end point.

        Returns:
        The minor end point.