Packages

 

com.aspose.cad.fileformats.cad.cadobjects

Interfaces

Classes

com.aspose.cad.fileformats.cad.cadobjects

Class CadMLeader



  • public class CadMLeader
    extends CadBaseEntity

    Class describing Cad multileader

    • Constructor Detail

      • CadMLeader

        public CadMLeader()

        Initializes a new instance of the CadMLeader class.

    • Method Detail

      • getTypeName

        public int getTypeName()

        Gets the name of the type.

        Overrides:
        getTypeName in class CadBaseEntity
        Returns:
        The name of the type.
      • getBlocks

        public final List<CadMLeaderBlock> getBlocks()

        Gets or sets the blocks.

        Returns:
        The blocks.
      • setBlocks

        public final void setBlocks(List<CadMLeaderBlock> value)

        Gets or sets the blocks.

        Parameters:
        value - The blocks.
      • getBlockContentScale

        public final Cad3DPoint getBlockContentScale()

        Gets or sets the block content scale.

        Returns:
        The block content scale.
      • setBlockContentScale

        public final void setBlockContentScale(Cad3DPoint value)

        Gets or sets the block content scale.

        Parameters:
        value - The block content scale.
      • getTextDirectionNegative

        public final boolean getTextDirectionNegative()

        Gets or sets a value indicating whether [text direction negative].

        Returns:
        true if [text direction negative]; otherwise, false.
      • setTextDirectionNegative

        public final void setTextDirectionNegative(boolean value)

        Gets or sets a value indicating whether [text direction negative].

        Parameters:
        value - true if [text direction negative]; otherwise, false.
      • getTextAlignInIpe

        public final short getTextAlignInIpe()

        Gets or sets the text align in ipe.

        Returns:
        The text align in ipe.
      • setTextAlignInIpe

        public final void setTextAlignInIpe(short value)

        Gets or sets the text align in ipe.

        Parameters:
        value - The text align in ipe.
      • getTextAttachmentPoint

        public final short getTextAttachmentPoint()

        Gets or sets the text attachment point.

        Returns:
        The text attachment point.
      • setTextAttachmentPoint

        public final void setTextAttachmentPoint(short value)

        Gets or sets the text attachment point.

        Parameters:
        value - The text attachment point.
      • getTextAttachmentDirection

        public final short getTextAttachmentDirection()

        Gets or sets the text attachment direction.

        Returns:
        The text attachment direction.
      • setTextAttachmentDirection

        public final void setTextAttachmentDirection(short value)

        Gets or sets the text attachment direction.

        Parameters:
        value - The text attachment direction.
      • getBottomTextAttachmentDirection

        public final short getBottomTextAttachmentDirection()

        Gets or sets the bottom text attachment direction.

        Returns:
        The bottom text attachment direction.
      • setBottomTextAttachmentDirection

        public final void setBottomTextAttachmentDirection(short value)

        Gets or sets the bottom text attachment direction.

        Parameters:
        value - The bottom text attachment direction.
      • getTopTextAttachmentDirection

        public final short getTopTextAttachmentDirection()

        Gets or sets the top text attachment direction.

        Returns:
        The top text attachment direction.
      • setTopTextAttachmentDirection

        public final void setTopTextAttachmentDirection(short value)

        Gets or sets the top text attachment direction.

        Parameters:
        value - The top text attachment direction.
      • getBlockContentRotation

        public final double getBlockContentRotation()

        Gets or sets the block content rotation.

        Returns:
        The block content rotation.
      • setBlockContentRotation

        public final void setBlockContentRotation(double value)

        Gets or sets the block content rotation.

        Parameters:
        value - The block content rotation.
      • getBlockContentConnectionType

        public final short getBlockContentConnectionType()

        Gets or sets the type of the block content connection.

        Returns:
        The type of the block content connection.
      • setBlockContentConnectionType

        public final void setBlockContentConnectionType(short value)

        Gets or sets the type of the block content connection.

        Parameters:
        value - The type of the block content connection.
      • getEnableAnnotationScale

        public final boolean getEnableAnnotationScale()

        Gets or sets a value indicating whether [enable annotation scale].

        Returns:
        true if [enable annotation scale]; otherwise, false.
      • setEnableAnnotationScale

        public final void setEnableAnnotationScale(boolean value)

        Gets or sets a value indicating whether [enable annotation scale].

        Parameters:
        value - true if [enable annotation scale]; otherwise, false.
      • getArrowheadIndex

        public final int getArrowheadIndex()

        Gets or sets the index of the arrowhead.

        Returns:
        The index of the arrowhead.
      • setArrowheadIndex

        public final void setArrowheadIndex(int value)

        Gets or sets the index of the arrowhead.

        Parameters:
        value - The index of the arrowhead.
      • getArrowHeadId2

        public final String getArrowHeadId2()

        Gets or sets the arrow head id2.

        Returns:
        The arrow head id2.
      • setArrowHeadId2

        public final void setArrowHeadId2(String value)

        Gets or sets the arrow head id2.

        Parameters:
        value - The arrow head id2.
      • getContentType

        public final short getContentType()

        Gets or sets the type of the content.

        Returns:
        The type of the content.
      • setContentType

        public final void setContentType(short value)

        Gets or sets the type of the content.

        Parameters:
        value - The type of the content.
      • getTextStyleId

        public final String getTextStyleId()

        Gets or sets the text style identifier.

        Returns:
        The text style identifier.
      • setTextStyleId

        public final void setTextStyleId(String value)

        Gets or sets the text style identifier.

        Parameters:
        value - The text style identifier.
      • getTextLeftAttachmentType

        public final short getTextLeftAttachmentType()

        Gets or sets the type of the text left attachment.

        Returns:
        The type of the text left attachment.
      • setTextLeftAttachmentType

        public final void setTextLeftAttachmentType(short value)

        Gets or sets the type of the text left attachment.

        Parameters:
        value - The type of the text left attachment.
      • getTextRightAttachmentType

        public final int getTextRightAttachmentType()

        Gets or sets the type of the text right attachment.

        Returns:
        The type of the text right attachment.
      • setTextRightAttachmentType

        public final void setTextRightAttachmentType(int value)

        Gets or sets the type of the text right attachment.

        Parameters:
        value - The type of the text right attachment.
      • getTextAngleType

        public final short getTextAngleType()

        Gets or sets the type of the text angle.

        Returns:
        The type of the text angle.
      • setTextAngleType

        public final void setTextAngleType(short value)

        Gets or sets the type of the text angle.

        Parameters:
        value - The type of the text angle.
      • getTextAlignmentType

        public final short getTextAlignmentType()

        Gets or sets the type of the text alignment.

        Returns:
        The type of the text alignment.
      • setTextAlignmentType

        public final void setTextAlignmentType(short value)

        Gets or sets the type of the text alignment.

        Parameters:
        value - The type of the text alignment.
      • getTextColor

        public final int getTextColor()

        Gets or sets the color of the text.

        Returns:
        The color of the text.
      • setTextColor

        public final void setTextColor(int value)

        Gets or sets the color of the text.

        Parameters:
        value - The color of the text.
      • getEnableFrameText

        public final boolean getEnableFrameText()

        Gets or sets a value indicating whether [enable frame text].

        Returns:
        true if [enable frame text]; otherwise, false.
      • setEnableFrameText

        public final void setEnableFrameText(boolean value)

        Gets or sets a value indicating whether [enable frame text].

        Parameters:
        value - true if [enable frame text]; otherwise, false.
      • getBlockContentId

        public final String getBlockContentId()

        Gets or sets the block content identifier.

        Returns:
        The block content identifier.
      • setBlockContentId

        public final void setBlockContentId(String value)

        Gets or sets the block content identifier.

        Parameters:
        value - The block content identifier.
      • getPropertyOverrideFlag

        public final int getPropertyOverrideFlag()

        Gets or sets the property override flag.

        Returns:
        The property override flag.
      • setPropertyOverrideFlag

        public final void setPropertyOverrideFlag(int value)

        Gets or sets the property override flag.

        Parameters:
        value - The property override flag.
      • getLeaderLineTypeID

        public final String getLeaderLineTypeID()

        Gets or sets the leader line type identifier.

        Returns:
        The leader line type identifier.
      • setLeaderLineTypeID

        public final void setLeaderLineTypeID(String value)

        Gets or sets the leader line type identifier.

        Parameters:
        value - The leader line type identifier.
      • getLeaderLineWeight

        public final short getLeaderLineWeight()

        Gets or sets the leader line weight.

        Returns:
        The leader line weight.
      • setLeaderLineWeight

        public final void setLeaderLineWeight(short value)

        Gets or sets the leader line weight.

        Parameters:
        value - The leader line weight.
      • getEnableLanding

        public final boolean getEnableLanding()

        Gets or sets a value indicating whether [enable landing].

        Returns:
        true if [enable landing]; otherwise, false.
      • setEnableLanding

        public final void setEnableLanding(boolean value)

        Gets or sets a value indicating whether [enable landing].

        Parameters:
        value - true if [enable landing]; otherwise, false.
      • getEnableDogleg

        public final boolean getEnableDogleg()

        Gets or sets a value indicating whether [enable dogleg].

        Returns:
        true if [enable dogleg]; otherwise, false.
      • setEnableDogleg

        public final void setEnableDogleg(boolean value)

        Gets or sets a value indicating whether [enable dogleg].

        Parameters:
        value - true if [enable dogleg]; otherwise, false.
      • getDoglegLength

        public final double getDoglegLength()

        Gets or sets the length of the dogleg.

        Returns:
        The length of the dogleg.
      • setDoglegLength

        public final void setDoglegLength(double value)

        Gets or sets the length of the dogleg.

        Parameters:
        value - The length of the dogleg.
      • getArrowheadSize

        public final double getArrowheadSize()

        Gets or sets the size of the arrowhead.

        Returns:
        The size of the arrowhead.
      • setArrowheadSize

        public final void setArrowheadSize(double value)

        Gets or sets the size of the arrowhead.

        Parameters:
        value - The size of the arrowhead.
      • getStyleDescription

        public final String getStyleDescription()

        Gets or sets the style type.

      • setStyleDescription

        public final void setStyleDescription(String value)

        Gets or sets the style type.

      • getLeaderStyleId

        public final String getLeaderStyleId()

        Gets or sets leader style Id

      • setLeaderStyleId

        public final void setLeaderStyleId(String value)

        Gets or sets leader style Id

      • setContextData

        public final void setContextData(CadMLeaderContextData value)

        Gets or sets the context data

      • getArrowHeadId1

        public final String getArrowHeadId1()

        Gets or sets arrow head ID.

      • setArrowHeadId1

        public final void setArrowHeadId1(String value)

        Gets or sets arrow head ID.

      • getLeaderType

        public final short getLeaderType()

        Gets or sets the type.

      • setLeaderType

        public final void setLeaderType(short value)

        Gets or sets the type.

      • getBlockContentColor

        public final int getBlockContentColor()

        Gets or sets the color of text.

      • setBlockContentColor

        public final void setBlockContentColor(int value)

        Gets or sets the color of text.

      • getLeaderLineColor

        public final int getLeaderLineColor()

        Gets or sets the color of text.

      • setLeaderLineColor

        public final void setLeaderLineColor(int value)

        Gets or sets the color of text.

      • getTextHeight

        public final double getTextHeight()

        Gets or sets height of text.

      • setTextHeight

        public final void setTextHeight(double value)

        Gets or sets height of text.