Packages

 

com.aspose.cad.fileformats.cad.cadobjects

Interfaces

Classes

com.aspose.cad.fileformats.cad.cadobjects

Class CadBaseEntity

    • Constructor Detail

      • CadBaseEntity

        public CadBaseEntity()

        Initializes a new instance of the CadBaseEntity class.

    • Method Detail

      • getTypeName

        public int getTypeName()

        Gets the name of the type.

        Returns:
        The name of the type.
      • getChildObjects

        public final List<CadBaseEntity> getChildObjects()

        Gets or sets the child objects.

      • setChildObjects

        public final void setChildObjects(List<CadBaseEntity> value)

        Gets or sets the child objects.

      • getColorId

        public final short getColorId()

        Gets or sets the color id.

        Returns:
        The color id.
      • setColorId

        public final void setColorId(short value)

        Gets or sets the color id.

        Parameters:
        value - The color id.
      • getLayoutTabName

        public final String getLayoutTabName()

        Gets or sets the name of the layout tab.

        Returns:
        The name of the layout tab.
      • setLayoutTabName

        public final void setLayoutTabName(String value)

        Gets or sets the name of the layout tab.

        Parameters:
        value - The name of the layout tab.
      • getColorName

        public final String getColorName()

        Gets or sets the name of the color.

        Returns:
        The name of the color.
      • setColorName

        public final void setColorName(String value)

        Gets or sets the name of the color.

        Parameters:
        value - The name of the color.
      • getColorValue

        public final Integer getColorValue()

        Gets or sets the color value.

        Returns:
        The color value.
      • setColorValue

        public final void setColorValue(Integer value)

        Gets or sets the color value.

        Parameters:
        value - The color value.
      • getLayerName

        public final String getLayerName()

        Gets or sets the name of the layer.

        Returns:
        The name of the layer.
      • setLayerName

        public final void setLayerName(String value)

        Gets or sets the name of the layer.

        Parameters:
        value - The name of the layer.
      • getLineScale

        public final double getLineScale()

        Gets or sets the line scale.

        Returns:
        The line scale.
      • setLineScale

        public final void setLineScale(double value)

        Gets or sets the line scale.

        Parameters:
        value - The line scale.
      • getLineTypeName

        public final String getLineTypeName()

        Gets or sets the name of the line type.

        Returns:
        The name of the line type.
      • setLineTypeName

        public final void setLineTypeName(String value)

        Gets or sets the name of the line type.

        Parameters:
        value - The name of the line type.
      • getLineWeight

        public final short getLineWeight()

        Gets or sets the line weight.

        Returns:
        The line weight.
      • setLineWeight

        public final void setLineWeight(short value)

        Gets or sets the line weight.

        Parameters:
        value - The line weight.
      • getMaterial

        public final String getMaterial()

        Gets or sets the material.

        Returns:
        The material.
      • setMaterial

        public final void setMaterial(String value)

        Gets or sets the material.

        Parameters:
        value - The material.
      • getPlotStyle

        public final String getPlotStyle()

        Gets or sets the plot style.

        Returns:
        The plot style.
      • setPlotStyle

        public final void setPlotStyle(String value)

        Gets or sets the plot style.

        Parameters:
        value - The plot style.
      • getProxyBytesCount

        public final Integer getProxyBytesCount()

        Gets or sets the proxy bytes count.

        Returns:
        The proxy bytes count.
      • setProxyBytesCount

        public final void setProxyBytesCount(Integer value)

        Gets or sets the proxy bytes count.

        Parameters:
        value - The proxy bytes count.
      • getProxyData

        public final byte[] getProxyData()

        Gets or sets the proxy data.

        Returns:
        The proxy data.
      • setProxyData

        public final void setProxyData(byte[] value)

        Gets or sets the proxy data.

        Parameters:
        value - The proxy data.
      • getShadowMode

        public final Short getShadowMode()

        Gets or sets the shadow mode.

        Returns:
        The shadow mode.
      • setShadowMode

        public final void setShadowMode(Short value)

        Gets or sets the shadow mode.

        Parameters:
        value - The shadow mode.
      • getSpaceMode

        public final int getSpaceMode()

        Gets or sets the space mode.

        Returns:
        The space mode.
        Throws:
        CadException - Space mode is not valid
      • setSpaceMode

        public final void setSpaceMode(int value)

        Gets or sets the space mode.

        Parameters:
        value - The space mode.
        Throws:
        CadException - Space mode is not valid
      • getBounds

        public final List<Cad3DPoint> getBounds()

        Minimal and maximal points of entity. Filled after GetBounds is called for CadImage.

      • setBounds

        public final void setBounds(List<Cad3DPoint> value)

        Minimal and maximal points of entity. Filled after GetBounds is called for CadImage.

      • getTransparency

        public final Integer getTransparency()

        Gets or sets the transparency.

        Returns:
        The transparency.
      • setTransparency

        public final void setTransparency(Integer value)

        Gets or sets the transparency.

        Parameters:
        value - The transparency.
      • getVisible

        public short getVisible()

        Gets or sets a value indicating whether this CadBaseEntity is visible.

        Returns:
        true if visible; otherwise, false.
      • setVisible

        public void setVisible(short value)

        Gets or sets a value indicating whether this CadBaseEntity is visible.

        Parameters:
        value - true if visible; otherwise, false.
      • getHyperlink

        public final String getHyperlink()

        Gets or sets the hyperlink.

        Returns:
        The hyperlink.
      • setHyperlink

        public final void setHyperlink(String value)

        Gets or sets the hyperlink.

        Parameters:
        value - The hyperlink.
      • getEntmode

        public final byte getEntmode()

        The Entmode

      • setEntmode

        public final void setEntmode(byte value)

        The Entmode

      • getNumreactors

        public final int getNumreactors()

        The Numreactors

      • setNumreactors

        public final void setNumreactors(int value)

        The Numreactors

      • getXDirMissingFlag

        public final boolean getXDirMissingFlag()

        The XDirMissingFlag

      • setXDirMissingFlag

        public final void setXDirMissingFlag(boolean value)

        The XDirMissingFlag

      • getStorageFlag

        public final boolean getStorageFlag()

        The StorageFlag

      • setStorageFlag

        public final void setStorageFlag(boolean value)

        The StorageFlag

      • isByLayer

        public final boolean isByLayer()

        The IsByLayer

      • setByLayer

        public final void setByLayer(boolean value)

        The IsByLayer

      • isNoLinks

        public final boolean isNoLinks()

        The IsNoLinks

      • setNoLinks

        public final void setNoLinks(boolean value)

        The IsNoLinks

      • getLType

        public final byte getLType()

        The LType

      • setLType

        public final void setLType(byte value)

        The LType

      • write

        public final void write(DxfWriter writer,
                                com.aspose.cad.StreamContainer streamContainer)

        Write entity to stream.

        Parameters:
        writer - The dxf writer.
        streamContainer - The stream container.