Packages

 

com.aspose.cad.fileformats.dgn.dgnelements

Class DgnCompoundElement

    • Constructor Detail

      • DgnCompoundElement

        public DgnCompoundElement(byte[] raw,
                          com.aspose.cad_internal.fileformats.dgn.DgnReadNextElementCallback dgnReadNextElementCallback,
                          boolean is3DElementExpected)

        Initializes a new instance of the DgnCompoundElement class

        Parameters:
        raw - raw data
        dgnReadNextElementCallback - Callback to DgnElementFactory.Create
        is3DElementExpected - is 3D element
    • Method Detail

      • newDgnCompoundElement_internalized

        public static DgnCompoundElement newDgnCompoundElement_internalized(byte[] raw,
                                                            com.aspose.cad_internal.fileformats.dgn.DgnReadNextElementCallback dgnReadNextElementCallback,
                                                            boolean is3DElementExpected)
      • getTotalLength

        public int getTotalLength()

        Gets or sets total length of data of related elements

      • getElementsCount

        public int getElementsCount()

        Gets or sets related elements count

      • getElements

        public com.aspose.ms.System.Collections.ObjectModel.ReadOnlyCollection<DgnElement> getElements()

        Gets related elements

      • 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
      • applyColor_internalized

        public void applyColor_internalized(Color color)

        Apply color to the element

        Overrides:
        applyColor_internalized in class DgnElement
        Parameters:
        color - Color of element