Packages

 

com.aspose.cad.fileformats.cad.cadobjects

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

      • getBlocks_internalized

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

        public void setBlocks(List<CadMLeaderBlock> value)

        Sets the blocks.

        Parameters:
        value - The blocks.
      • setBlocksInternal_internalized

        public void setBlocksInternal_internalized(com.aspose.ms.System.Collections.Generic.List<CadMLeaderBlock> value)
      • getAttribute270

        public short getAttribute270()

        Gets the attribute270.

        Returns:
        The attribute270.
      • setAttribute270

        public void setAttribute270(short value)

        Sets the attribute270.

        Parameters:
        value - The attribute270.
      • getBlockContentScale

        public Cad3DPoint getBlockContentScale()

        Gets the block content scale.

        Returns:
        The block content scale.
      • setBlockContentScale

        public void setBlockContentScale(Cad3DPoint value)

        Sets the block content scale.

        Parameters:
        value - The block content scale.
      • getTextDirectionNegative

        public boolean getTextDirectionNegative()

        Gets a value indicating whether [text direction negative].

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

        public void setTextDirectionNegative(boolean value)

        Sets a value indicating whether [text direction negative].

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

        public short getTextAlignInIpe()

        Gets the text align in ipe.

        Returns:
        The text align in ipe.
      • setTextAlignInIpe

        public void setTextAlignInIpe(short value)

        Sets the text align in ipe.

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

        public short getTextAttachmentPoint()

        Gets the text attachment point.

        Returns:
        The text attachment point.
      • setTextAttachmentPoint

        public void setTextAttachmentPoint(short value)

        Sets the text attachment point.

        Parameters:
        value - The text attachment point.
      • getTextAttachmentDirection

        public short getTextAttachmentDirection()

        Gets the text attachment direction.

        Returns:
        The text attachment direction.
      • setTextAttachmentDirection

        public void setTextAttachmentDirection(short value)

        Sets the text attachment direction.

        Parameters:
        value - The text attachment direction.
      • getBottomTextAttachmentDirection

        public short getBottomTextAttachmentDirection()

        Gets the bottom text attachment direction.

        Returns:
        The bottom text attachment direction.
      • setBottomTextAttachmentDirection

        public void setBottomTextAttachmentDirection(short value)

        Sets the bottom text attachment direction.

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

        public short getTopTextAttachmentDirection()

        Gets the top text attachment direction.

        Returns:
        The top text attachment direction.
      • setTopTextAttachmentDirection

        public void setTopTextAttachmentDirection(short value)

        Sets the top text attachment direction.

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

        public double getBlockContentRotation()

        Gets the block content rotation.

        Returns:
        The block content rotation.
      • setBlockContentRotation

        public void setBlockContentRotation(double value)

        Sets the block content rotation.

        Parameters:
        value - The block content rotation.
      • getBlockContentConnectionType

        public short getBlockContentConnectionType()

        Gets the type of the block content connection.

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

        public void setBlockContentConnectionType(short value)

        Sets the type of the block content connection.

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

        public boolean getEnableAnnotationScale()

        Gets a value indicating whether [enable annotation scale].

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

        public void setEnableAnnotationScale(boolean value)

        Sets a value indicating whether [enable annotation scale].

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

        public int getArrowheadIndex()

        Gets the index of the arrowhead.

        Returns:
        The index of the arrowhead.
      • setArrowheadIndex

        public void setArrowheadIndex(int value)

        Sets the index of the arrowhead.

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

        public String getArrowHeadId2()

        Gets the arrow head id2.

        Returns:
        The arrow head id2.
      • setArrowHeadId2

        public void setArrowHeadId2(String value)

        Sets the arrow head id2.

        Parameters:
        value - The arrow head id2.
      • getContentType

        public short getContentType()

        Gets the type of the content.

        Returns:
        The type of the content.
      • setContentType

        public void setContentType(short value)

        Sets the type of the content.

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

        public String getTextStyleId()

        Gets the text style identifier.

        Returns:
        The text style identifier.
      • setTextStyleId

        public void setTextStyleId(String value)

        Sets the text style identifier.

        Parameters:
        value - The text style identifier.
      • getTextLeftAttachmentType

        public short getTextLeftAttachmentType()

        Gets the type of the text left attachment.

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

        public void setTextLeftAttachmentType(short value)

        Sets the type of the text left attachment.

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

        public int getTextRightAttachmentType()

        Gets the type of the text right attachment.

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

        public void setTextRightAttachmentType(int value)

        Sets the type of the text right attachment.

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

        public short getTextAngleType()

        Gets the type of the text angle.

        Returns:
        The type of the text angle.
      • setTextAngleType

        public void setTextAngleType(short value)

        Sets the type of the text angle.

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

        public short getTextAlignmentType()

        Gets the type of the text alignment.

        Returns:
        The type of the text alignment.
      • setTextAlignmentType

        public void setTextAlignmentType(short value)

        Sets the type of the text alignment.

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

        public int getTextColor()

        Gets the color of the text.

        Returns:
        The color of the text.
      • setTextColor

        public void setTextColor(int value)

        Sets the color of the text.

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

        public boolean getEnableFrameText()

        Gets a value indicating whether [enable frame text].

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

        public void setEnableFrameText(boolean value)

        Sets a value indicating whether [enable frame text].

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

        public String getBlockContentId()

        Gets the block content identifier.

        Returns:
        The block content identifier.
      • setBlockContentId

        public void setBlockContentId(String value)

        Sets the block content identifier.

        Parameters:
        value - The block content identifier.
      • getPropertyOverrideFlag

        public int getPropertyOverrideFlag()

        Gets the property override flag.

        Returns:
        The property override flag.
      • setPropertyOverrideFlag

        public void setPropertyOverrideFlag(int value)

        Sets the property override flag.

        Parameters:
        value - The property override flag.
      • getLeaderLineTypeID

        public String getLeaderLineTypeID()

        Gets the leader line type identifier.

        Returns:
        The leader line type identifier.
      • setLeaderLineTypeID

        public void setLeaderLineTypeID(String value)

        Sets the leader line type identifier.

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

        public short getLeaderLineWeight()

        Gets the leader line weight.

        Returns:
        The leader line weight.
      • setLeaderLineWeight

        public void setLeaderLineWeight(short value)

        Sets the leader line weight.

        Parameters:
        value - The leader line weight.
      • getEnableLanding

        public boolean getEnableLanding()

        Gets a value indicating whether [enable landing].

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

        public void setEnableLanding(boolean value)

        Sets a value indicating whether [enable landing].

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

        public boolean getEnableDogleg()

        Gets a value indicating whether [enable dogleg].

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

        public void setEnableDogleg(boolean value)

        Sets a value indicating whether [enable dogleg].

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

        public double getDoglegLength()

        Gets the length of the dogleg.

        Returns:
        The length of the dogleg.
      • setDoglegLength

        public void setDoglegLength(double value)

        Sets the length of the dogleg.

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

        public double getArrowheadSize()

        Gets the size of the arrowhead.

        Returns:
        The size of the arrowhead.
      • setArrowheadSize

        public void setArrowheadSize(double value)

        Sets the size of the arrowhead.

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

        public String getStyleDescription()

        Gets the style type.

        Returns:
        The style type.
      • setStyleDescription

        public void setStyleDescription(String value)

        Sets the style type.

        Parameters:
        value - The style type.
      • getLeaderStyleId

        public String getLeaderStyleId()

        Gets leader style Id

        Returns:
        The leader style Id
      • setLeaderStyleId

        public void setLeaderStyleId(String value)

        Sets leader style Id

        Parameters:
        value - The leader style Id
      • getContextData

        public CadMLeaderContextData getContextData()

        Gets the context data

        Returns:
        The context data
      • setContextData

        public void setContextData(CadMLeaderContextData value)

        Sets the context data

        Parameters:
        value - The context data
      • getArrowHeadId1

        public String getArrowHeadId1()

        Gets arrow head ID.

        Returns:
        The arrow head ID.
      • setArrowHeadId1

        public void setArrowHeadId1(String value)

        Sets arrow head ID.

        Parameters:
        value - The arrow head ID.
      • getLeaderType

        public short getLeaderType()

        Gets the type.

        Returns:
        The leader type.
      • setLeaderType

        public void setLeaderType(short value)

        Sets the type.

        Parameters:
        value - The type.
      • getBlockContentColor

        public int getBlockContentColor()

        Gets the color of text.

        Returns:
        The color of text.
      • setBlockContentColor

        public void setBlockContentColor(int value)

        Sets the color of text.

        Parameters:
        value - The color of text.
      • getLeaderLineColor

        public int getLeaderLineColor()

        Gets the color of text.

        Returns:
        The color of text.
      • setLeaderLineColor

        public void setLeaderLineColor(int value)

        Sets the color of text.

        Parameters:
        value - The color of text.
      • getTextHeight

        public double getTextHeight()

        Gets height of text.

        Returns:
        The height of text.
      • setTextHeight

        public void setTextHeight(double value)

        Sets height of text.

        Parameters:
        value - The height of text.
      • getTempX_internalized

        public double getTempX_internalized()

        Gets the temp X val.

        Returns:
        The temp X val.
      • setTempX_internalized

        public void setTempX_internalized(double value)

        Sets the temp X val.

        Parameters:
        value - The temp X val.
      • getTempY_internalized

        public double getTempY_internalized()

        Gets the temp Y val.

        Returns:
        The temp Y val.
      • setTempY_internalized

        public void setTempY_internalized(double value)

        Sets the temp Y val.

        Parameters:
        value - 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.