Packages

 

com.aspose.cad.fileformats.cad.cadobjects

Interfaces

Classes

com.aspose.cad.fileformats.cad.cadobjects

Class CadLine

    • Constructor Detail

      • CadLine

        public CadLine(Cad3DPoint firstPoint,
                       Cad3DPoint secondPoint)

        Initializes a new instance of the CadLine class.

        Parameters:
        firstPoint - Start point.
        secondPoint - End point.
        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 CadBaseEntity
        Returns:
        The name of the type.
      • getFirstPoint

        public final Cad3DPoint getFirstPoint()

        Gets or sets the first Point.

        Returns:
        The First Point.
      • setFirstPoint

        public final void setFirstPoint(Cad3DPoint value)

        Gets or sets the first Point.

        Parameters:
        value - The First Point.
      • getSecondPoint

        public final Cad3DPoint getSecondPoint()

        Gets or sets the second Point.

        Returns:
        The Second Point.
      • setSecondPoint

        public final void setSecondPoint(Cad3DPoint value)

        Gets or sets the second Point.

        Parameters:
        value - The Second Point.
      • getThickness

        public final double getThickness()

        Gets or sets the thickness.

        Returns:
        The thickness.
      • setThickness

        public final void setThickness(double value)

        Gets or sets the thickness.

        Parameters:
        value - The thickness.