CadLeader
Inheritance: java.lang.Object, CadBaseEntity
Class describing Cad leader
Constructors
| Constructor | Description |
|---|---|
| CadLeader() | Initializes a new instance of the CadLeader class. |
Methods
| Method | Description |
|---|---|
| getTypeName() | Gets the name of the type. |
| getLastLeaderVertex() | Gets or sets the last leader vertex. |
| setLastLeaderVertex(Cad3DPoint value) | Gets or sets the last leader vertex. |
| getHorizontalDirection() | Gets or sets the horizontal direction. |
| setHorizontalDirection(Cad3DPoint value) | Gets or sets the horizontal direction. |
| getLeaderColor() | Gets or sets the color of the leader. |
| setLeaderColor(Short value) | Gets or sets the color of the leader. |
| getStyleType() | Gets or sets the style type. |
| setStyleType(String value) | Gets or sets the style type. |
| getAssociatedAnnotation() | Gets or sets reference to associated annotation object. |
| setAssociatedAnnotation(String value) | Gets or sets reference to associated annotation object. |
| getNormalVector() | Gets or sets normal vector |
| setNormalVector(Cad3DPoint value) | Gets or sets normal vector |
| getAnnotationPlacementPointOffset() | Gets or sets offset of last leader vertex from annotation placement point |
| setAnnotationPlacementPointOffset(Cad3DPoint value) | Gets or sets offset of last leader vertex from annotation placement point |
| getArrowHeadFlag() | Gets or sets the arrowhead flag. |
| setArrowHeadFlag(Short value) | Gets or sets the arrowhead flag. |
| getPathType() | Gets or sets the type of path. |
| setPathType(short value) | Gets or sets the type of path. |
| getCreationFlag() | Gets or sets the type of path. |
| setCreationFlag(short value) | Gets or sets the type of path. |
| getHookLineCreationFlag() | Gets or sets the hook line creation flag. |
| setHookLineCreationFlag(short value) | Gets or sets the hook line creation flag. |
| getHookLineFlag() | Gets or sets the hook line flag. |
| setHookLineFlag(short value) | Gets or sets the hook line flag. |
| getTextHeight() | Gets or sets the text height. |
| setTextHeight(double value) | Gets or sets the text height. |
| getTextWidth() | Gets or sets the scale x. |
| setTextWidth(double value) | Gets or sets the scale x. |
| getVerticesCount() | Gets or sets the count of vertices. |
| setVerticesCount(short value) | Gets or sets the count of vertices. |
| getCoordinates() | Gets or sets the coordinates. |
| setCoordinates(List | Gets or sets the coordinates. |
| getAnnotType() | Gets or sets the annot type. |
| setAnnotType(short value) | Gets or sets the annot type. |
CadLeader()
public CadLeader()
Initializes a new instance of the CadLeader class.
getTypeName()
public int getTypeName()
Gets the name of the type.
Returns: int - The name of the type.
getLastLeaderVertex()
public final Cad3DPoint getLastLeaderVertex()
Gets or sets the last leader vertex.
Returns: Cad3DPoint - The last leader vertex.
setLastLeaderVertex(Cad3DPoint value)
public final void setLastLeaderVertex(Cad3DPoint value)
Gets or sets the last leader vertex.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | Cad3DPoint | The last leader vertex. |
getHorizontalDirection()
public final Cad3DPoint getHorizontalDirection()
Gets or sets the horizontal direction.
Returns: Cad3DPoint - The horizontal direction.
setHorizontalDirection(Cad3DPoint value)
public final void setHorizontalDirection(Cad3DPoint value)
Gets or sets the horizontal direction.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | Cad3DPoint | The horizontal direction. |
getLeaderColor()
public final Short getLeaderColor()
Gets or sets the color of the leader.
Returns: Short - The color of the leader.
setLeaderColor(Short value)
public final void setLeaderColor(Short value)
Gets or sets the color of the leader.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | Short | The color of the leader. |
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.
getAssociatedAnnotation()
public final String getAssociatedAnnotation()
Gets or sets reference to associated annotation object.
Returns: String
setAssociatedAnnotation(String value)
public final void setAssociatedAnnotation(String value)
Gets or sets reference to associated annotation object.
getNormalVector()
public final Cad3DPoint getNormalVector()
Gets or sets normal vector
Returns: Cad3DPoint
setNormalVector(Cad3DPoint value)
public final void setNormalVector(Cad3DPoint value)
Gets or sets normal vector
getAnnotationPlacementPointOffset()
public final Cad3DPoint getAnnotationPlacementPointOffset()
Gets or sets offset of last leader vertex from annotation placement point
Returns: Cad3DPoint
setAnnotationPlacementPointOffset(Cad3DPoint value)
public final void setAnnotationPlacementPointOffset(Cad3DPoint value)
Gets or sets offset of last leader vertex from annotation placement point
getArrowHeadFlag()
public final Short getArrowHeadFlag()
Gets or sets the arrowhead flag.
Returns: Short
setArrowHeadFlag(Short value)
public final void setArrowHeadFlag(Short value)
Gets or sets the arrowhead flag.
getPathType()
public final short getPathType()
Gets or sets the type of path.
Returns: short
setPathType(short value)
public final void setPathType(short value)
Gets or sets the type of path.
getCreationFlag()
public final short getCreationFlag()
Gets or sets the type of path.
Returns: short
setCreationFlag(short value)
public final void setCreationFlag(short value)
Gets or sets the type of path.
getHookLineCreationFlag()
public final short getHookLineCreationFlag()
Gets or sets the hook line creation flag.
Returns: short
setHookLineCreationFlag(short value)
public final void setHookLineCreationFlag(short value)
Gets or sets the hook line creation flag.
getHookLineFlag()
public final short getHookLineFlag()
Gets or sets the hook line flag.
Returns: short
setHookLineFlag(short value)
public final void setHookLineFlag(short value)
Gets or sets the hook line flag.
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.
getTextWidth()
public final double getTextWidth()
Gets or sets the scale x.
Returns: double
setTextWidth(double value)
public final void setTextWidth(double value)
Gets or sets the scale x.
getVerticesCount()
public final short getVerticesCount()
Gets or sets the count of vertices.
Returns: short
setVerticesCount(short value)
public final void setVerticesCount(short value)
Gets or sets the count of vertices.
getCoordinates()
public final List<Cad3DPoint> getCoordinates()
Gets or sets the coordinates.
Returns: List
setCoordinates(List value)
public final void setCoordinates(List<Cad3DPoint> value)
Gets or sets the coordinates.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | List | The coordinates. |
getAnnotType()
public final short getAnnotType()
Gets or sets the annot type.
Returns: short
setAnnotType(short value)
public final void setAnnotType(short value)
Gets or sets the annot type.