CadMLeaderStyle
Inheritance: java.lang.Object, CadBaseEntity
Class describing CadMLeaderStyle
Constructors
| Constructor | Description |
|---|---|
| CadMLeaderStyle() |
Methods
| Method | Description |
|---|---|
| getTypeName() | Gets the name of the type. |
| getContentType() | Gets or sets the type of the content. |
| setContentType(short value) | Gets or sets the type of the content. |
| getDrawMLeaderOrderType() | Gets or sets the type of the draw m leader order. |
| setDrawMLeaderOrderType(short value) | Gets or sets the type of the draw m leader order. |
| getDrawLeaderOrderType() | Gets or sets the type of the draw leader order. |
| setDrawLeaderOrderType(short value) | Gets or sets the type of the draw leader order. |
| getMaxLeaderSegmentsPoints() | Gets or sets the maximum leader segments points. |
| setMaxLeaderSegmentsPoints(int value) | Gets or sets the maximum leader segments points. |
| getFirstSegmentAngleConstraint() | Gets or sets the first segment angle constraint. |
| setFirstSegmentAngleConstraint(double value) | Gets or sets the first segment angle constraint. |
| getSecondSegmentAngleConstraint() | Gets or sets the second segment angle constraint. |
| setSecondSegmentAngleConstraint(double value) | Gets or sets the second segment angle constraint. |
| getLeaderLineType() | Gets or sets the type of the leader line. |
| setLeaderLineType(short value) | Gets or sets the type of the leader line. |
| getLeaderLineColor() | Gets or sets the color of the leader line. |
| setLeaderLineColor(int value) | Gets or sets the color of the leader line. |
| getLeaderLineTypeId() | Gets or sets the leader line type identifier. |
| setLeaderLineTypeId(String value) | Gets or sets the leader line type identifier. |
| getLeaderLineWeight() | Gets or sets the leader line weight. |
| setLeaderLineWeight(int value) | Gets or sets the leader line weight. |
| getEnableLanding() | Gets or sets the enable landing. |
| setEnableLanding(boolean value) | Gets or sets the enable landing. |
| getLandingGap() | Gets or sets the landing gap. |
| setLandingGap(double value) | Gets or sets the landing gap. |
| getEnableDogleg() | Gets or sets the enable dogleg. |
| setEnableDogleg(boolean value) | Gets or sets the enable dogleg. |
| getDoglegLength() | Gets or sets the length of the dogleg. |
| setDoglegLength(double value) | Gets or sets the length of the dogleg. |
| getMleaderStyleDescription() | Gets or sets the mleader style description. |
| setMleaderStyleDescription(String value) | Gets or sets the mleader style description. |
| getArrowheadId() | Gets or sets the arrowhead identifier. |
| setArrowheadId(String value) | Gets or sets the arrowhead identifier. |
| getArrowheadSize() | Gets or sets the size of the arrowhead. |
| setArrowheadSize(double value) | Gets or sets the size of the arrowhead. |
| getDefaultMTextContents() | Gets or sets the default m text contents. |
| setDefaultMTextContents(String value) | Gets or sets the default m text contents. |
| getMTextStyleId() | Gets or sets the m text style identifier. |
| setMTextStyleId(String value) | Gets or sets the m text style identifier. |
| getTextLeftAttachmentType() | Gets or sets the type of the text left attachment. |
| setTextLeftAttachmentType(short value) | Gets or sets the type of the text left attachment. |
| getTextAngleType() | Gets or sets the type of the text angle. |
| setTextAngleType(short value) | Gets or sets the type of the text angle. |
| getTextAlignmentType() | Gets or sets the type of the text alignment. |
| setTextAlignmentType(short value) | Gets or sets the type of the text alignment. |
| getTextRightAttachmentType() | Gets or sets the type of the text right attachment. |
| setTextRightAttachmentType(short value) | Gets or sets the type of the text right attachment. |
| getTextColor() | Gets or sets the color of the text. |
| setTextColor(int value) | Gets or sets the color of the text. |
| getTextHeight() | Gets or sets the height of the text. |
| setTextHeight(double value) | Gets or sets the height of the text. |
| getEnableFrameText() | Gets or sets the enable frame text. |
| setEnableFrameText(boolean value) | Gets or sets the enable frame text. |
| getTextAlignAlwaysLeft() | Gets or sets the text align always left. |
| setTextAlignAlwaysLeft(boolean value) | Gets or sets the text align always left. |
| getAlignSpace() | Gets or sets the align space. |
| setAlignSpace(double value) | Gets or sets the align space. |
| getBlockContentId() | Gets or sets the block content identifier. |
| setBlockContentId(String value) | Gets or sets the block content identifier. |
| getBlockContentColor() | Gets or sets the color of the block content. |
| setBlockContentColor(int value) | Gets or sets the color of the block content. |
| getBlockContentScaleX() | Gets or sets the block content scale x. |
| setBlockContentScaleX(double value) | Gets or sets the block content scale x. |
| getBlockContentScaleY() | Gets or sets the block content scale y. |
| setBlockContentScaleY(double value) | Gets or sets the block content scale y. |
| getBlockContentScaleZ() | Gets or sets the block content scale z. |
| setBlockContentScaleZ(double value) | Gets or sets the block content scale z. |
| getEnableBlockContentScale() | Gets or sets the enable block content scale. |
| setEnableBlockContentScale(boolean value) | Gets or sets the enable block content scale. |
| getBlockContentRotation() | Gets or sets the block content rotation. |
| setBlockContentRotation(double value) | Gets or sets the block content rotation. |
| getEnableBlockContentRotation() | Gets or sets the enable block content rotation. |
| setEnableBlockContentRotation(boolean value) | Gets or sets the enable block content rotation. |
| getBlockContentConnectionType() | Gets or sets the type of the block content connection. |
| setBlockContentConnectionType(short value) | Gets or sets the type of the block content connection. |
| getScale() | Gets or sets the scale. |
| setScale(double value) | Gets or sets the scale. |
| getOverwritePropertyValue() | Gets or sets the overwrite property value. |
| setOverwritePropertyValue(boolean value) | Gets or sets the overwrite property value. |
| isAnnotative() | Gets or sets the is annotative. |
| setAnnotative(boolean value) | Gets or sets the is annotative. |
| getBreakGapSize() | Gets or sets the size of the break gap. |
| setBreakGapSize(double value) | Gets or sets the size of the break gap. |
| getTextAttachmentDirection() | Gets or sets the text attachment direction. |
| setTextAttachmentDirection(short value) | Gets or sets the text attachment direction. |
| getBottomTextAttachmentDirection() | Gets or sets the bottom text attachment direction. |
| setBottomTextAttachmentDirection(short value) | Gets or sets the bottom text attachment direction. |
| getTopTextAttachmentDirection() | Gets or sets the top text attachment direction. |
| setTopTextAttachmentDirection(short value) | Gets or sets the top text attachment direction. |
CadMLeaderStyle()
public CadMLeaderStyle()
getTypeName()
public int getTypeName()
Gets the name of the type.
Returns: int - The name of the type.
getContentType()
public final short getContentType()
Gets or sets the type of the content.
Returns: short - The type of the content.
setContentType(short value)
public final void setContentType(short value)
Gets or sets the type of the content.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | short | The type of the content. |
getDrawMLeaderOrderType()
public final short getDrawMLeaderOrderType()
Gets or sets the type of the draw m leader order.
Returns: short - The type of the draw m leader order.
setDrawMLeaderOrderType(short value)
public final void setDrawMLeaderOrderType(short value)
Gets or sets the type of the draw m leader order.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | short | The type of the draw m leader order. |
getDrawLeaderOrderType()
public final short getDrawLeaderOrderType()
Gets or sets the type of the draw leader order.
Returns: short - The type of the draw leader order.
setDrawLeaderOrderType(short value)
public final void setDrawLeaderOrderType(short value)
Gets or sets the type of the draw leader order.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | short | The type of the draw leader order. |
getMaxLeaderSegmentsPoints()
public final int getMaxLeaderSegmentsPoints()
Gets or sets the maximum leader segments points.
Returns: int - The maximum leader segments points.
setMaxLeaderSegmentsPoints(int value)
public final void setMaxLeaderSegmentsPoints(int value)
Gets or sets the maximum leader segments points.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int | The maximum leader segments points. |
getFirstSegmentAngleConstraint()
public final double getFirstSegmentAngleConstraint()
Gets or sets the first segment angle constraint.
Returns: double - The first segment angle constraint.
setFirstSegmentAngleConstraint(double value)
public final void setFirstSegmentAngleConstraint(double value)
Gets or sets the first segment angle constraint.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | double | The first segment angle constraint. |
getSecondSegmentAngleConstraint()
public final double getSecondSegmentAngleConstraint()
Gets or sets the second segment angle constraint.
Returns: double - The second segment angle constraint.
setSecondSegmentAngleConstraint(double value)
public final void setSecondSegmentAngleConstraint(double value)
Gets or sets the second segment angle constraint.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | double | The second segment angle constraint. |
getLeaderLineType()
public final short getLeaderLineType()
Gets or sets the type of the leader line.
Returns: short - The type of the leader line.
setLeaderLineType(short value)
public final void setLeaderLineType(short value)
Gets or sets the type of the leader line.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | short | The type of the leader line. |
getLeaderLineColor()
public final int getLeaderLineColor()
Gets or sets the color of the leader line.
Returns: int - The color of the leader line.
setLeaderLineColor(int value)
public final void setLeaderLineColor(int value)
Gets or sets the color of the leader line.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int | The color of the leader line. |
getLeaderLineTypeId()
public final String getLeaderLineTypeId()
Gets or sets the leader line type identifier.
Returns: String - The leader line type identifier.
setLeaderLineTypeId(String value)
public final void setLeaderLineTypeId(String value)
Gets or sets the leader line type identifier.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | String | The leader line type identifier. |
getLeaderLineWeight()
public final int getLeaderLineWeight()
Gets or sets the leader line weight.
Returns: int - The leader line weight.
setLeaderLineWeight(int value)
public final void setLeaderLineWeight(int value)
Gets or sets the leader line weight.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int | The leader line weight. |
getEnableLanding()
public final boolean getEnableLanding()
Gets or sets the enable landing.
Returns: boolean - The enable landing.
setEnableLanding(boolean value)
public final void setEnableLanding(boolean value)
Gets or sets the enable landing.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | boolean | The enable landing. |
getLandingGap()
public final double getLandingGap()
Gets or sets the landing gap.
Returns: double - The landing gap.
setLandingGap(double value)
public final void setLandingGap(double value)
Gets or sets the landing gap.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | double | The landing gap. |
getEnableDogleg()
public final boolean getEnableDogleg()
Gets or sets the enable dogleg.
Returns: boolean - The enable dogleg.
setEnableDogleg(boolean value)
public final void setEnableDogleg(boolean value)
Gets or sets the enable dogleg.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | boolean | The enable dogleg. |
getDoglegLength()
public final double getDoglegLength()
Gets or sets the length of the dogleg.
Returns: double - The length of the dogleg.
setDoglegLength(double value)
public final void setDoglegLength(double value)
Gets or sets the length of the dogleg.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | double | The length of the dogleg. |
getMleaderStyleDescription()
public final String getMleaderStyleDescription()
Gets or sets the mleader style description.
Returns: String - The mleader style description.
setMleaderStyleDescription(String value)
public final void setMleaderStyleDescription(String value)
Gets or sets the mleader style description.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | String | The mleader style description. |
getArrowheadId()
public final String getArrowheadId()
Gets or sets the arrowhead identifier.
Returns: String - The arrowhead identifier.
setArrowheadId(String value)
public final void setArrowheadId(String value)
Gets or sets the arrowhead identifier.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | String | The arrowhead identifier. |
getArrowheadSize()
public final double getArrowheadSize()
Gets or sets the size of the arrowhead.
Returns: double - The size of the arrowhead.
setArrowheadSize(double value)
public final void setArrowheadSize(double value)
Gets or sets the size of the arrowhead.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | double | The size of the arrowhead. |
getDefaultMTextContents()
public final String getDefaultMTextContents()
Gets or sets the default m text contents.
Returns: String - The default m text contents.
setDefaultMTextContents(String value)
public final void setDefaultMTextContents(String value)
Gets or sets the default m text contents.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | String | The default m text contents. |
getMTextStyleId()
public final String getMTextStyleId()
Gets or sets the m text style identifier.
Returns: String - The m text style identifier.
setMTextStyleId(String value)
public final void setMTextStyleId(String value)
Gets or sets the m text style identifier.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | String | The m text style identifier. |
getTextLeftAttachmentType()
public final short getTextLeftAttachmentType()
Gets or sets the type of the text left attachment.
Returns: short - The type of the text left attachment.
setTextLeftAttachmentType(short value)
public final void setTextLeftAttachmentType(short value)
Gets or sets the type of the text left attachment.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | short | The type of the text left attachment. |
getTextAngleType()
public final short getTextAngleType()
Gets or sets the type of the text angle.
Returns: short - The type of the text angle.
setTextAngleType(short value)
public final void setTextAngleType(short value)
Gets or sets the type of the text angle.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | short | The type of the text angle. |
getTextAlignmentType()
public final short getTextAlignmentType()
Gets or sets the type of the text alignment.
Returns: short - The type of the text alignment.
setTextAlignmentType(short value)
public final void setTextAlignmentType(short value)
Gets or sets the type of the text alignment.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | short | The type of the text alignment. |
getTextRightAttachmentType()
public final short getTextRightAttachmentType()
Gets or sets the type of the text right attachment.
Returns: short - The type of the text right attachment.
setTextRightAttachmentType(short value)
public final void setTextRightAttachmentType(short value)
Gets or sets the type of the text right attachment.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | short | The type of the text right attachment. |
getTextColor()
public final int getTextColor()
Gets or sets the color of the text.
Returns: int - The color of the text.
setTextColor(int value)
public final void setTextColor(int value)
Gets or sets the color of the text.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int | The color of the text. |
getTextHeight()
public final double getTextHeight()
Gets or sets the height of the text.
Returns: double - The height of the text.
setTextHeight(double value)
public final void setTextHeight(double value)
Gets or sets the height of the text.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | double | The height of the text. |
getEnableFrameText()
public final boolean getEnableFrameText()
Gets or sets the enable frame text.
Returns: boolean - The enable frame text.
setEnableFrameText(boolean value)
public final void setEnableFrameText(boolean value)
Gets or sets the enable frame text.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | boolean | The enable frame text. |
getTextAlignAlwaysLeft()
public final boolean getTextAlignAlwaysLeft()
Gets or sets the text align always left.
Returns: boolean - The text align always left.
setTextAlignAlwaysLeft(boolean value)
public final void setTextAlignAlwaysLeft(boolean value)
Gets or sets the text align always left.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | boolean | The text align always left. |
getAlignSpace()
public final double getAlignSpace()
Gets or sets the align space.
Returns: double - The align space.
setAlignSpace(double value)
public final void setAlignSpace(double value)
Gets or sets the align space.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | double | The align space. |
getBlockContentId()
public final String getBlockContentId()
Gets or sets the block content identifier.
Returns: String - The block content identifier.
setBlockContentId(String value)
public final void setBlockContentId(String value)
Gets or sets the block content identifier.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | String | The block content identifier. |
getBlockContentColor()
public final int getBlockContentColor()
Gets or sets the color of the block content.
Returns: int - The color of the block content.
setBlockContentColor(int value)
public final void setBlockContentColor(int value)
Gets or sets the color of the block content.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int | The color of the block content. |
getBlockContentScaleX()
public final double getBlockContentScaleX()
Gets or sets the block content scale x.
Returns: double - The block content scale x.
setBlockContentScaleX(double value)
public final void setBlockContentScaleX(double value)
Gets or sets the block content scale x.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | double | The block content scale x. |
getBlockContentScaleY()
public final double getBlockContentScaleY()
Gets or sets the block content scale y.
Returns: double - The block content scale y.
setBlockContentScaleY(double value)
public final void setBlockContentScaleY(double value)
Gets or sets the block content scale y.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | double | The block content scale y. |
getBlockContentScaleZ()
public final double getBlockContentScaleZ()
Gets or sets the block content scale z.
Returns: double - The block content scale z.
setBlockContentScaleZ(double value)
public final void setBlockContentScaleZ(double value)
Gets or sets the block content scale z.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | double | The block content scale z. |
getEnableBlockContentScale()
public final boolean getEnableBlockContentScale()
Gets or sets the enable block content scale.
Returns: boolean - The enable block content scale.
setEnableBlockContentScale(boolean value)
public final void setEnableBlockContentScale(boolean value)
Gets or sets the enable block content scale.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | boolean | The enable block content scale. |
getBlockContentRotation()
public final double getBlockContentRotation()
Gets or sets the block content rotation.
Returns: double - The block content rotation.
setBlockContentRotation(double value)
public final void setBlockContentRotation(double value)
Gets or sets the block content rotation.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | double | The block content rotation. |
getEnableBlockContentRotation()
public final boolean getEnableBlockContentRotation()
Gets or sets the enable block content rotation.
Returns: boolean - The enable block content rotation.
setEnableBlockContentRotation(boolean value)
public final void setEnableBlockContentRotation(boolean value)
Gets or sets the enable block content rotation.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | boolean | The enable block content rotation. |
getBlockContentConnectionType()
public final short getBlockContentConnectionType()
Gets or sets the type of the block content connection.
Returns: short - The type of the block content connection.
setBlockContentConnectionType(short value)
public final void setBlockContentConnectionType(short value)
Gets or sets the type of the block content connection.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | short | The type of the block content connection. |
getScale()
public final double getScale()
Gets or sets the scale.
Returns: double - The scale.
setScale(double value)
public final void setScale(double value)
Gets or sets the scale.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | double | The scale. |
getOverwritePropertyValue()
public final boolean getOverwritePropertyValue()
Gets or sets the overwrite property value.
Returns: boolean - The overwrite property value.
setOverwritePropertyValue(boolean value)
public final void setOverwritePropertyValue(boolean value)
Gets or sets the overwrite property value.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | boolean | The overwrite property value. |
isAnnotative()
public final boolean isAnnotative()
Gets or sets the is annotative.
Returns: boolean - The is annotative.
setAnnotative(boolean value)
public final void setAnnotative(boolean value)
Gets or sets the is annotative.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | boolean | The is annotative. |
getBreakGapSize()
public final double getBreakGapSize()
Gets or sets the size of the break gap.
Returns: double - The size of the break gap.
setBreakGapSize(double value)
public final void setBreakGapSize(double value)
Gets or sets the size of the break gap.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | double | The size of the break gap. |
getTextAttachmentDirection()
public final short getTextAttachmentDirection()
Gets or sets the text attachment direction.
Returns: short - The text attachment direction.
setTextAttachmentDirection(short value)
public final void setTextAttachmentDirection(short value)
Gets or sets the text attachment direction.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | short | The text attachment direction. |
getBottomTextAttachmentDirection()
public final short getBottomTextAttachmentDirection()
Gets or sets the bottom text attachment direction.
Returns: short - The bottom text attachment direction.
setBottomTextAttachmentDirection(short value)
public final void setBottomTextAttachmentDirection(short value)
Gets or sets the bottom text attachment direction.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | short | The bottom text attachment direction. |
getTopTextAttachmentDirection()
public final short getTopTextAttachmentDirection()
Gets or sets the top text attachment direction.
Returns: short - The top text attachment direction.
setTopTextAttachmentDirection(short value)
public final void setTopTextAttachmentDirection(short value)
Gets or sets the top text attachment direction.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | short | The top text attachment direction. |