Packages

 

com.aspose.cad.fileformats.cad.cadobjects

Classes

com.aspose.cad.fileformats.cad.cadobjects

Class CadDimensionBase

    • Constructor Detail

      • CadDimensionBase

        public CadDimensionBase()

        Initializes a new instance of the CadDimensionBase class.

    • Method Detail

      • getVersionNumber

        public CadShortParameter getVersionNumber()

        Gets the version number.

        Returns:
        The version number.
      • setVersionNumber

        public void setVersionNumber(CadShortParameter value)

        Sets the version number.

        Parameters:
        value - The version number.
      • getTypeOfDimension

        public int getTypeOfDimension()

        Gets the type of dimension.

        Returns:
        The type of dimension.
      • getActualMeasurement

        public double getActualMeasurement()

        Gets the actual measurement.

        Returns:
        The actual measurement.
      • setActualMeasurement

        public void setActualMeasurement(double value)

        Sets the actual measurement.

        Parameters:
        value - The actual measurement.
      • getAttachmentType

        public short getAttachmentType()

        Gets the attachment type.

        Returns:
        The attachment type.
      • setAttachmentType

        public void setAttachmentType(short value)

        Sets the attachment type.

        Parameters:
        value - The attachment type.
      • getBlockName

        public String getBlockName()

        Gets the block name.

        Returns:
        The block name.
      • setBlockName

        public void setBlockName(String value)

        Sets the block name.

        Parameters:
        value - The block name.
      • getDefinitionPoint

        public Cad3DPoint getDefinitionPoint()

        Gets the definition point.

        Returns:
        The definition point.
      • setDefinitionPoint

        public void setDefinitionPoint(Cad3DPoint value)

        Sets the definition point.

        Parameters:
        value - The definition point.
      • getBlockTranslationVector

        public Cad3DPoint getBlockTranslationVector()

        Gets 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

        Returns:
        The block translation vector.
      • setBlockTranslationVector

        public void setBlockTranslationVector(Cad3DPoint value)

        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

        Parameters:
        value - The block translation vector.
      • getDimensionTextLineSpacingFactor

        public double getDimensionTextLineSpacingFactor()

        Gets the dimension text line spacing factor.

        Returns:
        The dimension text line spacing factor.
      • setDimensionTextLineSpacingFactor

        public void setDimensionTextLineSpacingFactor(double value)

        Sets the dimension text line spacing factor.

        Parameters:
        value - The dimension text line spacing factor.
      • getDimensionType

        public short getDimensionType()

        Gets the dimension type.

        Returns:
        The dimension type.
      • setDimensionType

        public void setDimensionType(short value)

        Sets the dimension type.

        Parameters:
        value - The dimension type.
      • getHorizontalDirection

        public double getHorizontalDirection()

        Gets the horizontal direction.

        Returns:
        The horizontal direction.
      • setHorizontalDirection

        public void setHorizontalDirection(double value)

        Sets the horizontal direction.

        Parameters:
        value - The horizontal direction.
      • isSingleUse

        public boolean isSingleUse()

        Gets a value indicating whether is single use.

        Returns:
        A value indicating whether is single use.
      • isUserDimension

        public boolean isUserDimension()

        Gets a value indicating whether this instance is user dimension.

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

        public boolean isXOrdinate()

        Gets a value indicating whether this instance is X ordinate.

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

        public boolean isYordinate()

        Gets a value indicating whether this instance is yordinate.

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

        public Cad3DPoint getMiddleTextLocation()

        Gets the middle text location.

        Returns:
        the middle text location.
      • setMiddleTextLocation

        public void setMiddleTextLocation(Cad3DPoint value)

        Sets the middle text location.

        Parameters:
        value - The middle text location.
      • getTextRotationAngle

        public double getTextRotationAngle()

        Gets the textRotationAngle angle.

        Returns:
        the textRotationAngle angle.
      • setTextRotationAngle

        public void setTextRotationAngle(double value)

        Sets the textRotationAngle angle.

        Parameters:
        value - the textRotationAngle angle.
      • getStyleName

        public String getStyleName()

        Gets the style name.

        Returns:
        the style name.
      • setStyleName

        public void setStyleName(String value)

        Sets the style name.

        Parameters:
        value - the style name.
      • getText

        public String getText()

        Gets the text.

        Returns:
        the text.
      • setText

        public void setText(String value)

        Sets the text.

        Parameters:
        value - the text.
      • getTextLineSpacing

        public short getTextLineSpacing()

        Gets the text line spacing.

        Returns:
        the text line spacing.
      • setTextLineSpacing

        public void setTextLineSpacing(short value)

        Sets the text line spacing.

        Parameters:
        value - the text line spacing.
      • getDimensionTypeObject

        public CadShortParameter getDimensionTypeObject()

        Gets whole object of dimension type.

        Returns:
        whole object of dimension type.