Packages

 

com.aspose.cad.fileformats.dgn

Class DgnElementMetadata



  • public class DgnElementMetadata
    extends Object

    Represents summary of a file element was read

    • Constructor Detail

      • DgnElementMetadata

        public DgnElementMetadata()
    • Method Detail

      • getLevel_internalized

        public int getLevel_internalized()
      • setLevel_internalized

        public void setLevel_internalized(int value)

        Sets the level of a file element

        Parameters:
        value - The level of a file element
      • getType

        public int getType()

        Gets the Type of a file element

        Returns:
        The Type of a file element
      • setType

        public void setType(int value)

        Sets the type of a file element

        Parameters:
        value - The type of a file element
      • isDeleted

        public boolean isDeleted()

        Gets a value indicating whether a file element was deleted

        Returns:
        A value indicating whether a file element was deleted
      • setDeleted

        public void setDeleted(boolean value)

        Sets a value indicating whether a file element was deleted

        Parameters:
        value - A value indicating whether a file element was deleted
      • isPartOfCompound

        public boolean isPartOfCompound()

        Gets a value indicating whether a file element is a part of compound element

        Returns:
        A value indicating whether a file element is a part of compound element
      • setPartOfCompound

        public void setPartOfCompound(boolean value)

        Sets a value indicating whether a file element is a part of compound element

        Parameters:
        value - true if a file element is a part of compound element
      • getGraphicGroup_internalized

        public int getGraphicGroup_internalized()

        Gets graphic group of element

        Returns:
        The graphic group of element
      • setGraphicGroup_internalized

        public void setGraphicGroup_internalized(int value)

        Sets graphic group of element

        Parameters:
        value - The graphic group of element
      • getColorIndex_internalized

        public byte getColorIndex_internalized()
      • setColorIndex_internalized

        public void setColorIndex_internalized(byte value)

        Sets color index, (0-255) that indicates the element's color in color table

        Parameters:
        value - The color index, (0-255) that indicates the element's color in color table
      • getArgbColor_internalized

        public int getArgbColor_internalized()

        Gets or sets Color Argb value corresponding to Color index

      • setArgbColor_internalized

        public void setArgbColor_internalized(int value)

        Gets or sets Color Argb value corresponding to Color index

      • getColor

        public Color getColor()

        Gets or sets Color corresponding to Color index

      • setColor

        public void setColor(Color value)

        Gets or sets Color corresponding to Color index

      • getLineWeight

        public byte getLineWeight()

        Gets Line weight

        Returns:
        The line weight
      • setLineWeight

        public void setLineWeight(byte value)

        Sets line weight

        Parameters:
        value - The line weight
      • getLineStyle

        public int getLineStyle()

        Gets line style

        Returns:
        The line style
      • setLineStyle

        public void setLineStyle(int value)

        Sets line style

        Parameters:
        value - The line style
      • getProperties

        public DgnElementProperties getProperties()

        Gets properties

        Returns:
        The dgn-element properties
      • setProperties_internalized

        public void setProperties_internalized(DgnElementProperties value)

        Sets properties

        Parameters:
        value - The dgn-element properties
      • getRaw_internalized

        public byte[] getRaw_internalized()
      • setRaw_internalized

        public void setRaw_internalized(byte[] value)

        Sets the raw data of a file element without first 4 bytes

        Parameters:
        value - The array of raw data
      • hasDescription_internalized

        public boolean hasDescription_internalized()

        Gets element can have description

        Returns:
        mark that data contains additional description