Packages

 

com.aspose.cad.fileformats.dgn.dgnelements

Class DgnLineElement

    • Constructor Detail

      • DgnLineElement

        public DgnLineElement(byte[] rawData,
                      boolean is3DElementExpected)

        Initializes a new instance of the DgnLineElement class

        Parameters:
        rawData - bytes raw data
        is3DElementExpected - is 3D object or not
    • Method Detail

      • newDgnLineElement_internalized

        public static DgnLineElement newDgnLineElement_internalized(byte[] rawData,
                                                    boolean is3DElementExpected)

        Initializes a new instance of the DgnLineElement class

        Parameters:
        rawData - bytes raw data
        is3DElementExpected - is 3D object or not
      • getVertices

        public com.aspose.ms.System.Collections.ObjectModel.ReadOnlyCollection<DgnPoint> getVertices()

        Gets vertices of the line

      • applyTransformation_internalized

        public void applyTransformation_internalized(double scale,
                                            DgnPoint originPoint)

        Apply transformation to the element

        Overrides:
        applyTransformation_internalized in class DgnElement
        Parameters:
        scale - scale factor
        originPoint - point of origin