Packages

 

com.aspose.cad.fileformats.dgn

Class DgnElementProperties



  • public class DgnElementProperties
    extends Object

    Represents element properties

    • Constructor Detail

      • DgnElementProperties

        public DgnElementProperties(int rawData,
                                    byte[] data)

        Initializes a new instance of the DgnElementProperties class

        Parameters:
        rawData - raw data of property context
        data - data of property context
    • Method Detail

      • getClassElement

        public short getClassElement()

        Gets class element

        Returns:
        The class element
      • isLocked

        public boolean isLocked()

        Gets a value indicating whether element is locked

        Returns:
        True if element is locked
      • isNew

        public boolean isNew()

        Gets a value indicating whether element is new

        Returns:
        True if element is new
      • isModified

        public boolean isModified()

        Gets a value indicating whether element is modified

        Returns:
        True if element is modified
      • isAttributeDataPresent

        public boolean isAttributeDataPresent()

        Gets a value indicating whether element has attribute data present

        Returns:
        True if element has attribute data present
      • getOrientation

        public int getOrientation()

        Gets element orientation

        Returns:
        A element orientation
      • isPlanar

        public boolean isPlanar()

        Gets a value indicating whether element is planar

        Returns:
        True if element is planar
      • isSnapable

        public boolean isSnapable()

        Gets a value indicating whether element could be snapped

        Returns:
        True if element could be snapped
      • getAttribute

        public byte[] getAttribute()

        Gets the attribute data of a file element

        Returns:
        The attribute data
      • setAttribute

        public void setAttribute(byte[] value)

        Sets the attribute data of a file element

        Parameters:
        value - The attribute data