Packages

 

com.aspose.cad.fileformats.cad.cadobjects

Classes

com.aspose.cad.fileformats.cad.cadobjects

Class CadLeader



  • public class CadLeader
    extends CadBaseEntity

    Class describing Cad leader

    • Constructor Detail

      • CadLeader

        public CadLeader()

        Initializes a new instance of the CadLeader class.

    • Method Detail

      • getLastLeaderVertex

        public Cad3DPoint getLastLeaderVertex()

        Gets the last leader vertex.

        Returns:
        The last leader vertex.
      • setLastLeaderVertex

        public void setLastLeaderVertex(Cad3DPoint value)

        Sets the last leader vertex.

        Parameters:
        value - The last leader vertex.
      • getHorizontalDirection

        public Cad3DPoint getHorizontalDirection()

        Gets the horizontal direction.

        Returns:
        The horizontal direction.
      • setHorizontalDirection

        public void setHorizontalDirection(Cad3DPoint value)

        Sets the horizontal direction.

        Parameters:
        value - The horizontal direction.
      • getLeaderColor

        public short getLeaderColor()

        Gets the color of the leader.

        Returns:
        The color of the leader.
      • setLeaderColor

        public void setLeaderColor(short value)

        Sets the color of the leader.

        Parameters:
        value - The color of the leader.
      • getStyleType

        public String getStyleType()

        Gets the style type.

        Returns:
        The style type.
      • setStyleType

        public void setStyleType(String value)

        Sets the style type.

        Parameters:
        value - The style type.
      • getAssociatedAnnotation

        public String getAssociatedAnnotation()

        Gets reference to associated annotation object.

        Returns:
        The reference to associated annotation object.
      • setAssociatedAnnotation

        public void setAssociatedAnnotation(String value)

        Sets reference to associated annotation object.

        Parameters:
        value - The reference to associated annotation object.
      • getNormalVector

        public Cad3DPoint getNormalVector()

        Gets normal vector

        Returns:
        The normal vector
      • setNormalVector

        public void setNormalVector(Cad3DPoint value)

        Sets normal vector

        Parameters:
        value - The normal vector
      • getAnnotationPlacementPointOffset

        public Cad3DPoint getAnnotationPlacementPointOffset()

        Gets offset of last leader vertex from annotation placement point

        Returns:
        The offset of last leader vertex from annotation placement point
      • setAnnotationPlacementPointOffset

        public void setAnnotationPlacementPointOffset(Cad3DPoint value)

        Sets offset of last leader vertex from annotation placement point

        Parameters:
        value - The offset of last leader vertex from annotation placement point
      • getArrowHeadFlag

        public CadShortParameter getArrowHeadFlag()

        Gets the arrowhead flag.

        Returns:
        The arrowhead flag.
      • setArrowHeadFlag

        public void setArrowHeadFlag(CadShortParameter value)

        Sets the arrowhead flag.

        Parameters:
        value - The arrowhead flag.
      • getPathType

        public short getPathType()

        Gets the type of path.

        Returns:
        The type of path.
      • setPathType

        public void setPathType(short value)

        Sets the type of path.

        Parameters:
        value - The type of path.
      • getCreationFlag

        public short getCreationFlag()

        Gets the type of path.

        Returns:
        The type of path.
      • setCreationFlag

        public void setCreationFlag(short value)

        Sets the type of path.

        Parameters:
        value - The type of path.
      • getHookLineCreationFlag

        public short getHookLineCreationFlag()

        Gets the hook line creation flag.

        Returns:
        The hook line creation flag.
      • setHookLineCreationFlag

        public void setHookLineCreationFlag(short value)

        Sets the hook line creation flag.

        Parameters:
        value - The hook line creation flag.
      • getHookLineFlag

        public short getHookLineFlag()

        Gets the hook line flag.

        Returns:
        The hook line flag.
      • setHookLineFlag

        public void setHookLineFlag(short value)

        Sets the hook line flag.

        Parameters:
        value - The hook line flag.
      • getTextHeight

        public double getTextHeight()

        Gets the text height.

        Returns:
        The text height.
      • setTextHeight

        public void setTextHeight(double value)

        Sets the text height.

        Parameters:
        value - The text height.
      • getTextWidth

        public double getTextWidth()

        Gets the scale x.

        Returns:
        The scale x.
      • setTextWidth

        public void setTextWidth(double value)

        Sets the scale x.

        Parameters:
        value - The scale x.
      • getVerticesCount

        public short getVerticesCount()

        Gets the count of vertices.

        Returns:
        The count of vertices.
      • setVerticesCount

        public void setVerticesCount(short value)

        Sets the count of vertices.

        Parameters:
        value - The count of vertices.
      • getCoordinates

        public List<Cad3DPoint> getCoordinates()

        Gets the coordinates.

        Returns:
        The coordinates.
      • getCoordinates_internalized

        public com.aspose.ms.System.Collections.Generic.List<Cad3DPoint> getCoordinates_internalized()
      • setCoordinates

        public void setCoordinates(List<Cad3DPoint> value)

        Sets the coordinates.

        Parameters:
        value - The coordinates.
      • setCoordinatesInternal_internalized

        public void setCoordinatesInternal_internalized(com.aspose.ms.System.Collections.Generic.List<Cad3DPoint> value)
      • 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.