Packages

 

com.aspose.cad.fileformats.cad.cadobjects

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

      • getBlocks

        public List<CadMLeaderBlock> getBlocks()

        Gets or sets the blocks.

        Returns:
        The blocks.
      • getBlocks_internalized

        public com.aspose.ms.System.Collections.Generic.List<CadMLeaderBlock> getBlocks_internalized()
      • setBlocks

        public void setBlocks(List<CadMLeaderBlock> value)

        Gets or sets the blocks.

        Parameters:
        value - The blocks.
      • getAttribute270

        public short getAttribute270()

        Gets or sets the attribute270.

        Returns:
        The attribute270.
      • setAttribute270

        public void setAttribute270(short value)

        Gets or sets the attribute270.

        Parameters:
        value - The attribute270.
      • getBlockContentScale

        public Cad3DPoint getBlockContentScale()

        Gets or sets the block content scale.

        Returns:
        The block content scale.
      • setBlockContentScale

        public void setBlockContentScale(Cad3DPoint value)

        Gets or sets the block content scale.

        Parameters:
        value - The block content scale.
      • getTextDirectionNegative

        public boolean getTextDirectionNegative()

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

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

        public 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 short getTextAlignInIpe()

        Gets or sets the text align in ipe.

        Returns:
        The text align in ipe.
      • setTextAlignInIpe

        public void setTextAlignInIpe(short value)

        Gets or sets the text align in ipe.

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

        public short getTextAttachmentPoint()

        Gets or sets the text attachment point.

        Returns:
        The text attachment point.
      • setTextAttachmentPoint

        public void setTextAttachmentPoint(short value)

        Gets or sets the text attachment point.

        Parameters:
        value - The text attachment point.
      • getTextAttachmentDirection

        public short getTextAttachmentDirection()

        Gets or sets the text attachment direction.

        Returns:
        The text attachment direction.
      • setTextAttachmentDirection

        public void setTextAttachmentDirection(short value)

        Gets or sets the text attachment direction.

        Parameters:
        value - The text attachment direction.
      • getBottomTextAttachmentDirection

        public short getBottomTextAttachmentDirection()

        Gets or sets the bottom text attachment direction.

        Returns:
        The bottom text attachment direction.
      • setBottomTextAttachmentDirection

        public void setBottomTextAttachmentDirection(short value)

        Gets or sets the bottom text attachment direction.

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

        public short getTopTextAttachmentDirection()

        Gets or sets the top text attachment direction.

        Returns:
        The top text attachment direction.
      • setTopTextAttachmentDirection

        public void setTopTextAttachmentDirection(short value)

        Gets or sets the top text attachment direction.

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

        public double getBlockContentRotation()

        Gets or sets the block content rotation.

        Returns:
        The block content rotation.
      • setBlockContentRotation

        public void setBlockContentRotation(double value)

        Gets or sets the block content rotation.

        Parameters:
        value - The block content rotation.
      • getBlockContentConnectionType

        public short getBlockContentConnectionType()

        Gets or sets the type of the block content connection.

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

        public 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 boolean getEnableAnnotationScale()

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

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

        public 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 int getArrowheadIndex()

        Gets or sets the index of the arrowhead.

        Returns:
        The index of the arrowhead.
      • setArrowheadIndex

        public void setArrowheadIndex(int value)

        Gets or sets the index of the arrowhead.

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

        public String getArrowHeadId2()

        Gets or sets the arrow head id2.

        Returns:
        The arrow head id2.
      • setArrowHeadId2

        public void setArrowHeadId2(String value)

        Gets or sets the arrow head id2.

        Parameters:
        value - The arrow head id2.
      • getContentType

        public short getContentType()

        Gets or sets the type of the content.

        Returns:
        The type of the content.
      • setContentType

        public void setContentType(short value)

        Gets or sets the type of the content.

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

        public String getTextStyleId()

        Gets or sets the text style identifier.

        Returns:
        The text style identifier.
      • setTextStyleId

        public void setTextStyleId(String value)

        Gets or sets the text style identifier.

        Parameters:
        value - The text style identifier.
      • getTextLeftAttachmentType

        public short getTextLeftAttachmentType()

        Gets or sets the type of the text left attachment.

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

        public 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 int getTextRightAttachmentType()

        Gets or sets the type of the text right attachment.

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

        public 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 short getTextAngleType()

        Gets or sets the type of the text angle.

        Returns:
        The type of the text angle.
      • setTextAngleType

        public void setTextAngleType(short value)

        Gets or sets the type of the text angle.

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

        public short getTextAlignmentType()

        Gets or sets the type of the text alignment.

        Returns:
        The type of the text alignment.
      • setTextAlignmentType

        public void setTextAlignmentType(short value)

        Gets or sets the type of the text alignment.

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

        public int getTextColor()

        Gets or sets the color of the text.

        Returns:
        The color of the text.
      • setTextColor

        public void setTextColor(int value)

        Gets or sets the color of the text.

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

        public boolean getEnableFrameText()

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

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

        public 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 String getBlockContentId()

        Gets or sets the block content identifier.

        Returns:
        The block content identifier.
      • setBlockContentId

        public void setBlockContentId(String value)

        Gets or sets the block content identifier.

        Parameters:
        value - The block content identifier.
      • getPropertyOverrideFlag

        public int getPropertyOverrideFlag()

        Gets or sets the property override flag.

        Returns:
        The property override flag.
      • setPropertyOverrideFlag

        public void setPropertyOverrideFlag(int value)

        Gets or sets the property override flag.

        Parameters:
        value - The property override flag.
      • getLeaderLineTypeID

        public String getLeaderLineTypeID()

        Gets or sets the leader line type identifier.

        Returns:
        The leader line type identifier.
      • setLeaderLineTypeID

        public void setLeaderLineTypeID(String value)

        Gets or sets the leader line type identifier.

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

        public short getLeaderLineWeight()

        Gets or sets the leader line weight.

        Returns:
        The leader line weight.
      • setLeaderLineWeight

        public void setLeaderLineWeight(short value)

        Gets or sets the leader line weight.

        Parameters:
        value - The leader line weight.
      • getEnableLanding

        public boolean getEnableLanding()

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

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

        public void setEnableLanding(boolean value)

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

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

        public boolean getEnableDogleg()

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

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

        public void setEnableDogleg(boolean value)

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

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

        public double getDoglegLength()

        Gets or sets the length of the dogleg.

        Returns:
        The length of the dogleg.
      • setDoglegLength

        public void setDoglegLength(double value)

        Gets or sets the length of the dogleg.

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

        public double getArrowheadSize()

        Gets or sets the size of the arrowhead.

        Returns:
        The size of the arrowhead.
      • setArrowheadSize

        public void setArrowheadSize(double value)

        Gets or sets the size of the arrowhead.

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

        public String getStyleDescription()

        Gets or sets the style type.

      • setStyleDescription

        public void setStyleDescription(String value)

        Gets or sets the style type.

      • getLeaderStyleId

        public String getLeaderStyleId()

        Gets or sets leader style Id

      • setLeaderStyleId

        public void setLeaderStyleId(String value)

        Gets or sets leader style Id

      • setContextData

        public void setContextData(CadMLeaderContextData value)

        Gets or sets the context data

      • getArrowHeadId1

        public String getArrowHeadId1()

        Gets or sets arrow head ID.

      • setArrowHeadId1

        public void setArrowHeadId1(String value)

        Gets or sets arrow head ID.

      • getLeaderType

        public short getLeaderType()

        Gets or sets the type.

      • setLeaderType

        public void setLeaderType(short value)

        Gets or sets the type.

      • getBlockContentColor

        public int getBlockContentColor()

        Gets or sets the color of text.

      • setBlockContentColor

        public void setBlockContentColor(int value)

        Gets or sets the color of text.

      • getLeaderLineColor

        public int getLeaderLineColor()

        Gets or sets the color of text.

      • setLeaderLineColor

        public void setLeaderLineColor(int value)

        Gets or sets the color of text.

      • getTextHeight

        public double getTextHeight()

        Gets or sets height of text.

      • setTextHeight

        public void setTextHeight(double value)

        Gets or sets height of text.

      • getTempX

        public double getTempX()

        Gets or sets the temp X val.

      • setTempX

        public void setTempX(double value)

        Gets or sets the temp X val.

      • getTempY

        public double getTempY()

        Gets or sets the temp Y val.

      • setTempY

        public void setTempY(double value)

        Gets or sets the temp Y val.

      • accept_internalized

        public void accept_internalized(com.aspose.cad_internal.fileformats.cad.visitors.Visitor visitor)

        Accepts the specified visitor.

        Overrides:
        accept_internalized in class CadBase
        Parameters:
        visitor - The visitor.