CadText
Inheritance: java.lang.Object, CadBaseExtrudedEntity
Class describing Cad text
Constructors
| Constructor | Description |
|---|---|
| CadText() | Initializes a new instance of the CadText 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. |
| getDefaultValue() | Gets or sets the default value. |
| setDefaultValue(String value) | Gets or sets the default value. |
| getFirstAlignment() | Gets or sets the first alignment. |
| setFirstAlignment(Cad3DPoint value) | Gets or sets the first alignment. |
| getGenerationFlag() | Gets or sets the generation flag. |
| setGenerationFlag(short value) | Gets or sets the generation flag. |
| getHorizontalJustification() | Gets or sets the horizontal justification. |
| setHorizontalJustification(short value) | Gets or sets the horizontal justification. |
| getObliqueAngle() | Gets or sets the oblique angle. |
| setObliqueAngle(double value) | Gets or sets the oblique angle. |
| getScaleX() | Gets or sets the scale x. |
| setScaleX(double value) | Gets or sets the scale x. |
| getSecondAlignmentPoint() | Gets or sets the second alignment point. |
| setSecondAlignmentPoint(Cad3DPoint value) | Gets or sets the second alignment point. |
| getStyleType() | Gets or sets the style type. |
| setStyleType(String value) | Gets or sets the style type. |
| getTextHeight() | Gets or sets the text height. |
| setTextHeight(double value) | Gets or sets the text height. |
| getTextRotation() | Gets or sets the text rotation. |
| setTextRotation(double value) | Gets or sets the text rotation. |
| getTextWidth() | Gets the text width. |
| getThickness() | Gets or sets the thickness. |
| setThickness(double value) | Gets or sets the thickness. |
| getVerticalJustification() | Gets or sets the vertical justification. |
| setVerticalJustification(short value) | Gets or sets the vertical justification. |
CadText()
public CadText()
Initializes a new instance of the CadText 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.
getDefaultValue()
public final String getDefaultValue()
Gets or sets the default value.
Returns: String
setDefaultValue(String value)
public final void setDefaultValue(String value)
Gets or sets the default value.
getFirstAlignment()
public final Cad3DPoint getFirstAlignment()
Gets or sets the first alignment.
Returns: Cad3DPoint - The first alignment.
setFirstAlignment(Cad3DPoint value)
public final void setFirstAlignment(Cad3DPoint value)
Gets or sets the first alignment.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | Cad3DPoint | The first alignment. |
getGenerationFlag()
public final short getGenerationFlag()
Gets or sets the generation flag.
Returns: short
setGenerationFlag(short value)
public final void setGenerationFlag(short value)
Gets or sets the generation flag.
getHorizontalJustification()
public final short getHorizontalJustification()
Gets or sets the horizontal justification.
Returns: short
setHorizontalJustification(short value)
public final void setHorizontalJustification(short value)
Gets or sets the horizontal justification.
getObliqueAngle()
public final double getObliqueAngle()
Gets or sets the oblique angle.
Returns: double
setObliqueAngle(double value)
public final void setObliqueAngle(double value)
Gets or sets the oblique angle.
getScaleX()
public final double getScaleX()
Gets or sets the scale x.
Returns: double
setScaleX(double value)
public final void setScaleX(double value)
Gets or sets the scale x.
getSecondAlignmentPoint()
public final Cad3DPoint getSecondAlignmentPoint()
Gets or sets the second alignment point.
Returns: Cad3DPoint
setSecondAlignmentPoint(Cad3DPoint value)
public final void setSecondAlignmentPoint(Cad3DPoint value)
Gets or sets the second alignment point.
getStyleType()
public final String getStyleType()
Gets or sets the style type.
Returns: String
setStyleType(String value)
public final void setStyleType(String value)
Gets or sets the style type.
getTextHeight()
public final double getTextHeight()
Gets or sets the text height.
Returns: double
setTextHeight(double value)
public final void setTextHeight(double value)
Gets or sets the text height.
getTextRotation()
public final double getTextRotation()
Gets or sets the text rotation.
Returns: double
setTextRotation(double value)
public final void setTextRotation(double value)
Gets or sets the text rotation.
getTextWidth()
public final double getTextWidth()
Gets the text width.
Returns: double
getThickness()
public final double getThickness()
Gets or sets the thickness.
Returns: double
setThickness(double value)
public final void setThickness(double value)
Gets or sets the thickness.
getVerticalJustification()
public final short getVerticalJustification()
Gets or sets the vertical justification.
Returns: short
setVerticalJustification(short value)
public final void setVerticalJustification(short value)
Gets or sets the vertical justification.