CadMLeaderContextData

Inheritance: java.lang.Object, CadBaseEntity

Class describing context data for multileader

Constructors

ConstructorDescription
CadMLeaderContextData()Initializes a new instance of the CadMLeaderContextData class.

Methods

MethodDescription
getBlockContentId()Gets or sets the block content identifier.
setBlockContentId(String value)Gets or sets the block content identifier.
getBlockContentNormalDirection()Gets or sets the block content normal direction.
setBlockContentNormalDirection(Cad3DPoint value)Gets or sets the block content normal direction.
getBlockContentPosition()Gets or sets the block content position.
setBlockContentPosition(Cad3DPoint value)Gets or sets the block content position.
getBlockContentScale()Gets or sets the block content scale.
setBlockContentScale(Cad3DPoint value)Gets or sets the block content scale.
getBlockContentRotation()Gets or sets the block content rotation.
setBlockContentRotation(double value)Gets or sets the block content rotation.
getBlockContentColor()Gets or sets the color of the block content.
setBlockContentColor(int value)Gets or sets the color of the block content.
getBlockTransformationMatrixList()Gets or sets the block transformation matrix list.
setBlockTransformationMatrixList(List value)Gets or sets the block transformation matrix list.
getPlaneNormalReversed()Gets or sets a value indicating whether [plane normal reversed].
setPlaneNormalReversed(boolean value)Gets or sets a value indicating whether [plane normal reversed].
getPlaneYAxisDirection()Gets or sets the plane y axis direction.
setPlaneYAxisDirection(Cad3DPoint value)Gets or sets the plane y axis direction.
getPlaneXAxisDirection()Gets or sets the plane x axis direction.
setPlaneXAxisDirection(Cad3DPoint value)Gets or sets the plane x axis direction.
getPlaneOriginPoint()Gets or sets a value indicating whether [plane origin point].
setPlaneOriginPoint(Cad3DPoint value)Gets or sets a value indicating whether [plane origin point].
getTextColumnFlowReversed()Gets or sets a value indicating whether [text column flow reversed].
setTextColumnFlowReversed(boolean value)Gets or sets a value indicating whether [text column flow reversed].
getTextUseWordBreak()Gets or sets a value indicating whether [text use word break].
setTextUseWordBreak(boolean value)Gets or sets a value indicating whether [text use word break].
hasBlock()Gets or sets a value indicating whether this instance has block.
setBlock(boolean value)Gets or sets a value indicating whether this instance has block.
hasMText()Gets or sets whether context data has MText.
setMText(boolean value)Gets or sets whether context data has MText.
getTextFlowDirection()Gets or sets text flow direction
setTextFlowDirection(short value)Gets or sets text flow direction
getTextColumnType()Gets or sets text column type
setTextColumnType(short value)Gets or sets text column type
getTextBackgroundColorOn()Gets or sets text background color on
setTextBackgroundColorOn(boolean value)Gets or sets text background color on
getTextBackgroundFillOn()Gets or sets text background fill on
setTextBackgroundFillOn(boolean value)Gets or sets text background fill on
getDefaultText()Gets or sets default text.
setDefaultText(String value)Gets or sets default text.
getTextLineSpacingStyle()Gets or sets text line spacing style.
setTextLineSpacingStyle(short value)Gets or sets text line spacing style.
getTextStyleID()Gets or sets text style.
setTextStyleID(String value)Gets or sets text style.
getTextWidth()Gets or sets width of text.
setTextWidth(double value)Gets or sets width of text.
getTextColumnGutterWidth()Gets or sets width of text column gutter.
setTextColumnGutterWidth(double value)Gets or sets width of text column gutter.
getTextColumnHeight()Gets or sets text column height.
setTextColumnHeight(double value)Gets or sets text column height.
getTextBackgroundScaleFactor()Gets or sets text background scale factor.
setTextBackgroundScaleFactor(double value)Gets or sets text background scale factor.
getTextBackgroundTransparency()Gets or sets text background transparency.
setTextBackgroundTransparency(int value)Gets or sets text background transparency.
getTextLandingGap()Gets or sets text landing gap.
setTextLandingGap(double value)Gets or sets text landing gap.
getUseTextAutoheight()Gets or sets using of text auto height.
setUseTextAutoheight(boolean value)Gets or sets using of text auto height.
getColumnWidth()Gets or sets width of column.
setColumnWidth(double value)Gets or sets width of column.
getTextLineSpacingFactor()Gets or sets line spacing factor.
setTextLineSpacingFactor(double value)Gets or sets line spacing factor.
getContentScale()Gets or sets the content scale.
setContentScale(double value)Gets or sets the content scale.
getTextRotation()Gets or sets the rotation of the text.
setTextRotation(double value)Gets or sets the rotation of the text.
getTextHeight()Gets or sets the height of text.
setTextHeight(double value)Gets or sets the height of text.
getArrowHeadSize()Gets or sets size of an arrow.
setArrowHeadSize(double value)Gets or sets size of an arrow.
getBasePoint()Gets or sets basepoint.
setBasePoint(Cad3DPoint value)Gets or sets basepoint.
getTextNormalDirection()Gets or sets text normal direction.
setTextNormalDirection(Cad3DPoint value)Gets or sets text normal direction.
getTextLocationPoint()Gets or sets text location point.
setTextLocationPoint(Cad3DPoint value)Gets or sets text location point.
getTextDirectionPoint()Gets or sets text direction point.
setTextDirectionPoint(Cad3DPoint value)Gets or sets text direction point.
getLeaderNode()Gets or sets text location point.
setLeaderNode(CadMLeaderNode value)Gets or sets text location point.
getTextColor()Gets or sets text color.
setTextColor(int value)Gets or sets text color.
getTextBackgroundColor()Gets or sets text background color.
setTextBackgroundColor(int value)Gets or sets text background color.
getTextAttachmentType()Gets or sets text attachment style.
setTextAttachmentType(short value)Gets or sets text attachment style.
getTextLeftAttachmentType()Gets or sets text left attachment style.
setTextLeftAttachmentType(short value)Gets or sets text left attachment style.
getTextRightAttachmentType()Gets or sets right attachment type.
setTextRightAttachmentType(short value)Gets or sets right attachment type.

CadMLeaderContextData()

public CadMLeaderContextData()

Initializes a new instance of the CadMLeaderContextData class.

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:

ParameterTypeDescription
valueStringThe block content identifier.

getBlockContentNormalDirection()

public final Cad3DPoint getBlockContentNormalDirection()

Gets or sets the block content normal direction.

Returns: Cad3DPoint - The block content normal direction.

setBlockContentNormalDirection(Cad3DPoint value)

public final void setBlockContentNormalDirection(Cad3DPoint value)

Gets or sets the block content normal direction.

Parameters:

ParameterTypeDescription
valueCad3DPointThe block content normal direction.

getBlockContentPosition()

public final Cad3DPoint getBlockContentPosition()

Gets or sets the block content position.

Returns: Cad3DPoint - The block content position.

setBlockContentPosition(Cad3DPoint value)

public final void setBlockContentPosition(Cad3DPoint value)

Gets or sets the block content position.

Parameters:

ParameterTypeDescription
valueCad3DPointThe block content position.

getBlockContentScale()

public final Cad3DPoint getBlockContentScale()

Gets or sets the block content scale.

Returns: Cad3DPoint - The block content scale.

setBlockContentScale(Cad3DPoint value)

public final void setBlockContentScale(Cad3DPoint value)

Gets or sets the block content scale.

Parameters:

ParameterTypeDescription
valueCad3DPointThe 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:

ParameterTypeDescription
valuedoubleThe block content rotation.

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:

ParameterTypeDescription
valueintThe color of the block content.

getBlockTransformationMatrixList()

public final List<Double> getBlockTransformationMatrixList()

Gets or sets the block transformation matrix list.

Returns: List - The block transformation matrix list.

setBlockTransformationMatrixList(List value)

public final void setBlockTransformationMatrixList(List<Double> value)

Gets or sets the block transformation matrix list.

Parameters:

ParameterTypeDescription
valueListThe block transformation matrix list.

getPlaneNormalReversed()

public final boolean getPlaneNormalReversed()

Gets or sets a value indicating whether [plane normal reversed].

Returns: boolean - true if [plane normal reversed]; otherwise, false .

setPlaneNormalReversed(boolean value)

public final void setPlaneNormalReversed(boolean value)

Gets or sets a value indicating whether [plane normal reversed].

Parameters:

ParameterTypeDescription
valuebooleantrue if [plane normal reversed]; otherwise, false .

getPlaneYAxisDirection()

public final Cad3DPoint getPlaneYAxisDirection()

Gets or sets the plane y axis direction.

Returns: Cad3DPoint - The plane y axis direction.

setPlaneYAxisDirection(Cad3DPoint value)

public final void setPlaneYAxisDirection(Cad3DPoint value)

Gets or sets the plane y axis direction.

Parameters:

ParameterTypeDescription
valueCad3DPointThe plane y axis direction.

getPlaneXAxisDirection()

public final Cad3DPoint getPlaneXAxisDirection()

Gets or sets the plane x axis direction.

Returns: Cad3DPoint - The plane x axis direction.

setPlaneXAxisDirection(Cad3DPoint value)

public final void setPlaneXAxisDirection(Cad3DPoint value)

Gets or sets the plane x axis direction.

Parameters:

ParameterTypeDescription
valueCad3DPointThe plane x axis direction.

getPlaneOriginPoint()

public final Cad3DPoint getPlaneOriginPoint()

Gets or sets a value indicating whether [plane origin point].

Returns: Cad3DPoint - true if [plane origin point]; otherwise, false .

setPlaneOriginPoint(Cad3DPoint value)

public final void setPlaneOriginPoint(Cad3DPoint value)

Gets or sets a value indicating whether [plane origin point].

Parameters:

ParameterTypeDescription
valueCad3DPointtrue if [plane origin point]; otherwise, false .

getTextColumnFlowReversed()

public final boolean getTextColumnFlowReversed()

Gets or sets a value indicating whether [text column flow reversed].

Returns: boolean - true if [text column flow reversed]; otherwise, false .

setTextColumnFlowReversed(boolean value)

public final void setTextColumnFlowReversed(boolean value)

Gets or sets a value indicating whether [text column flow reversed].

Parameters:

ParameterTypeDescription
valuebooleantrue if [text column flow reversed]; otherwise, false .

getTextUseWordBreak()

public final boolean getTextUseWordBreak()

Gets or sets a value indicating whether [text use word break].

Returns: boolean - true if [text use word break]; otherwise, false .

setTextUseWordBreak(boolean value)

public final void setTextUseWordBreak(boolean value)

Gets or sets a value indicating whether [text use word break].

Parameters:

ParameterTypeDescription
valuebooleantrue if [text use word break]; otherwise, false .

hasBlock()

public final boolean hasBlock()

Gets or sets a value indicating whether this instance has block.

Returns: boolean - true if this instance has block; otherwise, false .

setBlock(boolean value)

public final void setBlock(boolean value)

Gets or sets a value indicating whether this instance has block.

Parameters:

ParameterTypeDescription
valuebooleantrue if this instance has block; otherwise, false .

hasMText()

public final boolean hasMText()

Gets or sets whether context data has MText.

Returns: boolean - If context data has MText

setMText(boolean value)

public final void setMText(boolean value)

Gets or sets whether context data has MText.

Parameters:

ParameterTypeDescription
valuebooleanIf context data has MText

getTextFlowDirection()

public final short getTextFlowDirection()

Gets or sets text flow direction

Returns: short - Text flow direction

setTextFlowDirection(short value)

public final void setTextFlowDirection(short value)

Gets or sets text flow direction

Parameters:

ParameterTypeDescription
valueshortText flow direction

getTextColumnType()

public final short getTextColumnType()

Gets or sets text column type

Returns: short - Text column type

setTextColumnType(short value)

public final void setTextColumnType(short value)

Gets or sets text column type

Parameters:

ParameterTypeDescription
valueshortText column type

getTextBackgroundColorOn()

public final boolean getTextBackgroundColorOn()

Gets or sets text background color on

Returns: boolean - Text background color on

setTextBackgroundColorOn(boolean value)

public final void setTextBackgroundColorOn(boolean value)

Gets or sets text background color on

Parameters:

ParameterTypeDescription
valuebooleanText background color on

getTextBackgroundFillOn()

public final boolean getTextBackgroundFillOn()

Gets or sets text background fill on

Returns: boolean - Text background color on

setTextBackgroundFillOn(boolean value)

public final void setTextBackgroundFillOn(boolean value)

Gets or sets text background fill on

Parameters:

ParameterTypeDescription
valuebooleanText background color on

getDefaultText()

public final String getDefaultText()

Gets or sets default text.

Returns: String - Default text.

setDefaultText(String value)

public final void setDefaultText(String value)

Gets or sets default text.

Parameters:

ParameterTypeDescription
valueStringDefault text.

getTextLineSpacingStyle()

public final short getTextLineSpacingStyle()

Gets or sets text line spacing style.

Returns: short - Text line spacing style

setTextLineSpacingStyle(short value)

public final void setTextLineSpacingStyle(short value)

Gets or sets text line spacing style.

Parameters:

ParameterTypeDescription
valueshortText line spacing style

getTextStyleID()

public final String getTextStyleID()

Gets or sets text style.

Returns: String - Text style.

setTextStyleID(String value)

public final void setTextStyleID(String value)

Gets or sets text style.

Parameters:

ParameterTypeDescription
valueStringText style.

getTextWidth()

public final double getTextWidth()

Gets or sets width of text.

Returns: double - The width of text.

setTextWidth(double value)

public final void setTextWidth(double value)

Gets or sets width of text.

Parameters:

ParameterTypeDescription
valuedoubleThe width of text.

getTextColumnGutterWidth()

public final double getTextColumnGutterWidth()

Gets or sets width of text column gutter.

Returns: double - The width of text column gutter.

setTextColumnGutterWidth(double value)

public final void setTextColumnGutterWidth(double value)

Gets or sets width of text column gutter.

Parameters:

ParameterTypeDescription
valuedoubleThe width of text column gutter.

getTextColumnHeight()

public final double getTextColumnHeight()

Gets or sets text column height.

Returns: double - The height of text column

setTextColumnHeight(double value)

public final void setTextColumnHeight(double value)

Gets or sets text column height.

Parameters:

ParameterTypeDescription
valuedoubleThe height of text column

getTextBackgroundScaleFactor()

public final double getTextBackgroundScaleFactor()

Gets or sets text background scale factor.

Returns: double - Text background scale factor.

setTextBackgroundScaleFactor(double value)

public final void setTextBackgroundScaleFactor(double value)

Gets or sets text background scale factor.

Parameters:

ParameterTypeDescription
valuedoubleText background scale factor.

getTextBackgroundTransparency()

public final int getTextBackgroundTransparency()

Gets or sets text background transparency.

Returns: int - Text background transparency.

setTextBackgroundTransparency(int value)

public final void setTextBackgroundTransparency(int value)

Gets or sets text background transparency.

Parameters:

ParameterTypeDescription
valueintText background transparency.

getTextLandingGap()

public final double getTextLandingGap()

Gets or sets text landing gap.

Returns: double

setTextLandingGap(double value)

public final void setTextLandingGap(double value)

Gets or sets text landing gap.

getUseTextAutoheight()

public final boolean getUseTextAutoheight()

Gets or sets using of text auto height.

Returns: boolean

setUseTextAutoheight(boolean value)

public final void setUseTextAutoheight(boolean value)

Gets or sets using of text auto height.

getColumnWidth()

public final double getColumnWidth()

Gets or sets width of column.

Returns: double - The width of column.

setColumnWidth(double value)

public final void setColumnWidth(double value)

Gets or sets width of column.

Parameters:

ParameterTypeDescription
valuedoubleThe width of column.

getTextLineSpacingFactor()

public final double getTextLineSpacingFactor()

Gets or sets line spacing factor.

Returns: double - Line spacing factor.

setTextLineSpacingFactor(double value)

public final void setTextLineSpacingFactor(double value)

Gets or sets line spacing factor.

Parameters:

ParameterTypeDescription
valuedoubleLine spacing factor.

getContentScale()

public final double getContentScale()

Gets or sets the content scale.

Returns: double - The scale of content.

setContentScale(double value)

public final void setContentScale(double value)

Gets or sets the content scale.

Parameters:

ParameterTypeDescription
valuedoubleThe scale of content.

getTextRotation()

public final double getTextRotation()

Gets or sets the rotation of the text.

Returns: double - The rotation of the text.

setTextRotation(double value)

public final void setTextRotation(double value)

Gets or sets the rotation of the text.

Parameters:

ParameterTypeDescription
valuedoubleThe rotation of the text.

getTextHeight()

public final double getTextHeight()

Gets or sets the height of text.

Returns: double - The height of text.

setTextHeight(double value)

public final void setTextHeight(double value)

Gets or sets the height of text.

Parameters:

ParameterTypeDescription
valuedoubleThe height of text.

getArrowHeadSize()

public final double getArrowHeadSize()

Gets or sets size of an arrow.

Returns: double - The arrow size.

setArrowHeadSize(double value)

public final void setArrowHeadSize(double value)

Gets or sets size of an arrow.

Parameters:

ParameterTypeDescription
valuedoubleThe arrow size.

getBasePoint()

public final Cad3DPoint getBasePoint()

Gets or sets basepoint.

Returns: Cad3DPoint - The base point of context data.

setBasePoint(Cad3DPoint value)

public final void setBasePoint(Cad3DPoint value)

Gets or sets basepoint.

Parameters:

ParameterTypeDescription
valueCad3DPointThe base point of context data.

getTextNormalDirection()

public final Cad3DPoint getTextNormalDirection()

Gets or sets text normal direction.

Returns: Cad3DPoint - The text normal direction point of context data.

setTextNormalDirection(Cad3DPoint value)

public final void setTextNormalDirection(Cad3DPoint value)

Gets or sets text normal direction.

Parameters:

ParameterTypeDescription
valueCad3DPointThe text normal direction point of context data.

getTextLocationPoint()

public final Cad3DPoint getTextLocationPoint()

Gets or sets text location point.

Returns: Cad3DPoint - The text location point of context data.

setTextLocationPoint(Cad3DPoint value)

public final void setTextLocationPoint(Cad3DPoint value)

Gets or sets text location point.

Parameters:

ParameterTypeDescription
valueCad3DPointThe text location point of context data.

getTextDirectionPoint()

public final Cad3DPoint getTextDirectionPoint()

Gets or sets text direction point.

Returns: Cad3DPoint - The text direction point of context data.

setTextDirectionPoint(Cad3DPoint value)

public final void setTextDirectionPoint(Cad3DPoint value)

Gets or sets text direction point.

Parameters:

ParameterTypeDescription
valueCad3DPointThe text direction point of context data.

getLeaderNode()

public final CadMLeaderNode getLeaderNode()

Gets or sets text location point.

Returns: CadMLeaderNode - The text location point of context data.

setLeaderNode(CadMLeaderNode value)

public final void setLeaderNode(CadMLeaderNode value)

Gets or sets text location point.

Parameters:

ParameterTypeDescription
valueCadMLeaderNodeThe text location point of context data.

getTextColor()

public final int getTextColor()

Gets or sets text color.

Returns: int - Color of text.

setTextColor(int value)

public final void setTextColor(int value)

Gets or sets text color.

Parameters:

ParameterTypeDescription
valueintColor of text.

getTextBackgroundColor()

public final int getTextBackgroundColor()

Gets or sets text background color.

Returns: int - Background color of text.

setTextBackgroundColor(int value)

public final void setTextBackgroundColor(int value)

Gets or sets text background color.

Parameters:

ParameterTypeDescription
valueintBackground color of text.

getTextAttachmentType()

public final short getTextAttachmentType()

Gets or sets text attachment style.

Returns: short

setTextAttachmentType(short value)

public final void setTextAttachmentType(short value)

Gets or sets text attachment style.

getTextLeftAttachmentType()

public final short getTextLeftAttachmentType()

Gets or sets text left attachment style.

Returns: short

setTextLeftAttachmentType(short value)

public final void setTextLeftAttachmentType(short value)

Gets or sets text left attachment style.

getTextRightAttachmentType()

public final short getTextRightAttachmentType()

Gets or sets right attachment type.

Returns: short

setTextRightAttachmentType(short value)

public final void setTextRightAttachmentType(short value)

Gets or sets right attachment type.