CadDimensionBase
Inheritance: java.lang.Object, CadBaseExtrudedEntity
The CadDimension class
Constructors
| Constructor | Description |
|---|---|
| CadDimensionBase() | Initializes a new instance of the CadDimensionBase class. |
Methods
| Method | Description |
|---|---|
| getTypeName() | Gets the name of the type. |
| getExtrusionDirection() | Gets or sets the extrusion direction. |
| setExtrusionDirection(Cad3DPoint value) | Gets or sets the extrusion direction. |
| getVersionNumber() | Gets or sets the version number. |
| setVersionNumber(short value) | Gets or sets the version number. |
| getTypeOfDimension() | Gets or sets the type of dimension. |
| setTypeOfDimension(int value) | Gets or sets the type of dimension. |
| getActualMeasurement() | Gets or sets the actual measurement. |
| setActualMeasurement(double value) | Gets or sets the actual measurement. |
| getAttachmentType() | Gets or sets the attachment type. |
| setAttachmentType(short value) | Gets or sets the attachment type. |
| getBlockName() | Gets or sets the block name. |
| setBlockName(String value) | Gets or sets the block name. |
| getDefinitionPoint() | Gets or sets the definition point. |
| setDefinitionPoint(Cad3DPoint value) | Gets or sets the definition point. |
| 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(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() | Gets or sets the dimension text line spacing factor. |
| setDimensionTextLineSpacingFactor(Double value) | Gets or sets the dimension text line spacing factor. |
| getDimensionType() | Gets or sets the dimension type. |
| setDimensionType(short value) | Gets or sets the dimension type. |
| getHorizontalDirection() | Gets or sets the horizontal direction. |
| setHorizontalDirection(Double value) | Gets or sets the horizontal direction. |
| isSingleUse() | Gets a value indicating whether is single use. |
| isUserDimension() | Gets a value indicating whether this instance is user dimension. |
| isXOrdinate() | Gets a value indicating whether this instance is X ordinate. |
| isYordinate() | Gets a value indicating whether this instance is yordinate. |
| getMiddleTextLocation() | Gets or sets the middle text location. |
| setMiddleTextLocation(Cad3DPoint value) | Gets or sets the middle text location. |
| getTextRotationAngle() | Gets or sets the textRotationAngle angle. |
| setTextRotationAngle(double value) | Gets or sets the textRotationAngle angle. |
| getStyleName() | Gets or sets the style name. |
| setStyleName(String value) | Gets or sets the style name. |
| getText() | Gets or sets the text. |
| setText(String value) | Gets or sets the text. |
| getTextLineSpacing() | Gets or sets the text line spacing. |
| setTextLineSpacing(Short value) | Gets or sets the text line spacing. |
CadDimensionBase()
public CadDimensionBase()
Initializes a new instance of the CadDimensionBase class.
getTypeName()
public int getTypeName()
Gets the name of the type.
Returns: int - The name of the type.
getExtrusionDirection()
public Cad3DPoint getExtrusionDirection()
Gets or sets the extrusion direction.
Returns: Cad3DPoint
setExtrusionDirection(Cad3DPoint value)
public void setExtrusionDirection(Cad3DPoint value)
Gets or sets the extrusion direction.
getVersionNumber()
public final short getVersionNumber()
Gets or sets the version number.
Returns: short - The version number.
setVersionNumber(short value)
public final void setVersionNumber(short value)
Gets or sets the version number.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | short | The version number. |
getTypeOfDimension()
public final int getTypeOfDimension()
Gets or sets the type of dimension.
Returns: int - The type of dimension.
setTypeOfDimension(int value)
public final void setTypeOfDimension(int value)
Gets or sets the type of dimension.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int | The type of dimension. |
getActualMeasurement()
public final double getActualMeasurement()
Gets or sets the actual measurement.
Returns: double
setActualMeasurement(double value)
public final void setActualMeasurement(double value)
Gets or sets the actual measurement.
getAttachmentType()
public final short getAttachmentType()
Gets or sets the attachment type.
Returns: short
setAttachmentType(short value)
public final void setAttachmentType(short value)
Gets or sets the attachment type.
getBlockName()
public final String getBlockName()
Gets or sets the block name.
Returns: String
setBlockName(String value)
public final void setBlockName(String value)
Gets or sets the block name.
getDefinitionPoint()
public final Cad3DPoint getDefinitionPoint()
Gets or sets the definition point.
Returns: Cad3DPoint
setDefinitionPoint(Cad3DPoint value)
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
Returns: Cad3DPoint
setBlockTranslationVector(Cad3DPoint value)
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.
Returns: Double
setDimensionTextLineSpacingFactor(Double value)
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.
Returns: short
setDimensionType(short value)
public final void setDimensionType(short value)
Gets or sets the dimension type.
getHorizontalDirection()
public final Double getHorizontalDirection()
Gets or sets the horizontal direction.
Returns: Double
setHorizontalDirection(Double value)
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.
Returns: boolean
isUserDimension()
public final boolean isUserDimension()
Gets a value indicating whether this instance is user dimension.
Returns: boolean - 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: boolean - true if this instance is X ordinate; otherwise, false .
isYordinate()
public final boolean isYordinate()
Gets a value indicating whether this instance is yordinate.
Returns: boolean - true if this instance is yordinate; otherwise, false .
getMiddleTextLocation()
public final Cad3DPoint getMiddleTextLocation()
Gets or sets the middle text location.
Returns: Cad3DPoint
setMiddleTextLocation(Cad3DPoint value)
public final void setMiddleTextLocation(Cad3DPoint value)
Gets or sets the middle text location.
getTextRotationAngle()
public final double getTextRotationAngle()
Gets or sets the textRotationAngle angle.
Returns: double
setTextRotationAngle(double value)
public final void setTextRotationAngle(double value)
Gets or sets the textRotationAngle angle.
getStyleName()
public final String getStyleName()
Gets or sets the style name.
Returns: String
setStyleName(String value)
public final void setStyleName(String value)
Gets or sets the style name.
getText()
public final String getText()
Gets or sets the text.
Returns: String
setText(String value)
public final void setText(String value)
Gets or sets the text.
getTextLineSpacing()
public final Short getTextLineSpacing()
Gets or sets the text line spacing.
Returns: Short
setTextLineSpacing(Short value)
public final void setTextLineSpacing(Short value)
Gets or sets the text line spacing.