Packages

 

com.aspose.cad.fileformats.cad.cadobjects

Interfaces

Classes

com.aspose.cad.fileformats.cad.cadobjects

Class CadDimensionBase

    • Constructor Detail

      • CadDimensionBase

        public CadDimensionBase()

        Initializes a new instance of the CadDimensionBase class.

    • Method Detail

      • getTypeName

        public int getTypeName()

        Gets the name of the type.

        Overrides:
        getTypeName in class CadBaseEntity
        Returns:
        The name of the type.
      • getVersionNumber

        public final short getVersionNumber()

        Gets or sets the version number.

        Returns:
        The version number.
      • setVersionNumber

        public final void setVersionNumber(short value)

        Gets or sets the version number.

        Parameters:
        value - The version number.
      • getTypeOfDimension

        public final int getTypeOfDimension()

        Gets or sets the type of dimension.

        Returns:
        The type of dimension.
      • setTypeOfDimension

        public final void setTypeOfDimension(int value)

        Gets or sets the type of dimension.

        Parameters:
        value - The type of dimension.
      • getActualMeasurement

        public final double getActualMeasurement()

        Gets or sets the actual measurement.

      • setActualMeasurement

        public final void setActualMeasurement(double value)

        Gets or sets the actual measurement.

      • getAttachmentType

        public final short getAttachmentType()

        Gets or sets the attachment type.

      • setAttachmentType

        public final void setAttachmentType(short value)

        Gets or sets the attachment type.

      • getBlockName

        public final String getBlockName()

        Gets or sets the block name.

      • setBlockName

        public final void setBlockName(String value)

        Gets or sets the block name.

      • getDefinitionPoint

        public final Cad3DPoint getDefinitionPoint()

        Gets or sets the definition point.

      • setDefinitionPoint

        public final void setDefinitionPoint(Cad3DPoint value)

        Gets or sets the definition point.

      • getBlockTranslationVector

        public final Cad3DPoint getBlockTranslationVector()

        Gets or sets the block translation vector. It was gotten from the old version CadDimensionBaseR12, because we have cases when block translation vector appears in new version CadDimensionBase

      • setBlockTranslationVector

        public final void setBlockTranslationVector(Cad3DPoint value)

        Gets or sets the block translation vector. It was gotten from the old version CadDimensionBaseR12, because we have cases when block translation vector appears in new version CadDimensionBase

      • getDimensionTextLineSpacingFactor

        public final Double getDimensionTextLineSpacingFactor()

        Gets or sets the dimension text line spacing factor.

      • setDimensionTextLineSpacingFactor

        public final void setDimensionTextLineSpacingFactor(Double value)

        Gets or sets the dimension text line spacing factor.

      • getDimensionType

        public final short getDimensionType()

        Gets or sets the dimension type.

      • setDimensionType

        public final void setDimensionType(short value)

        Gets or sets the dimension type.

      • getHorizontalDirection

        public final Double getHorizontalDirection()

        Gets or sets the horizontal direction.

      • setHorizontalDirection

        public final void setHorizontalDirection(Double value)

        Gets or sets the horizontal direction.

      • isSingleUse

        public final boolean isSingleUse()

        Gets a value indicating whether is single use.

      • isUserDimension

        public final boolean isUserDimension()

        Gets a value indicating whether this instance is user dimension.

        Returns:
        true if this instance is user dimension; otherwise, false.
      • isXOrdinate

        public final boolean isXOrdinate()

        Gets a value indicating whether this instance is X ordinate.

        Returns:
        true if this instance is X ordinate; otherwise, false.
      • isYordinate

        public final boolean isYordinate()

        Gets a value indicating whether this instance is yordinate.

        Returns:
        true if this instance is yordinate; otherwise, false.
      • getMiddleTextLocation

        public final Cad3DPoint getMiddleTextLocation()

        Gets or sets the middle text location.

      • setMiddleTextLocation

        public final void setMiddleTextLocation(Cad3DPoint value)

        Gets or sets the middle text location.

      • getTextRotationAngle

        public final double getTextRotationAngle()

        Gets or sets the textRotationAngle angle.

      • setTextRotationAngle

        public final void setTextRotationAngle(double value)

        Gets or sets the textRotationAngle angle.

      • getStyleName

        public final String getStyleName()

        Gets or sets the style name.

      • setStyleName

        public final void setStyleName(String value)

        Gets or sets the style name.

      • getText

        public final String getText()

        Gets or sets the text.

      • setText

        public final void setText(String value)

        Gets or sets the text.

      • getTextLineSpacing

        public final Short getTextLineSpacing()

        Gets or sets the text line spacing.

      • setTextLineSpacing

        public final void setTextLineSpacing(Short value)

        Gets or sets the text line spacing.