asposediagram.api

Class CoordinateCollection

Coordinate collection.

Property Getters/Setters Summary
methodgetArcToCol()
Contains the x- and y-coordinates and bow of a circular arc represented respectively by the X, Y, and A elements.
methodgetCount()
Gets the number of elements actually contained in the collection.
methodgetEllipseCol()
Contains elements specifying the x- and y-coordinates of the ellipse's center point and two points on the ellipse.
methodgetEllipticalArcToCol()
Contains elements that specify information about an elliptical arc.
methodgetInfiniteLineCol()
Contains elements specifying the x- and y-coordinates of two points on an infinite line. The X and Y elements specify the x- and y-coordinates of the first point, and the A and B elements specify the x- and y-coordinates of the second point.
methodgetLineToCol()
Contains x- and y-coordinates of the ending vertex of a straight line segment. These coordinates are contained in the X and Y elements, respectively.
methodgetMoveToCol()
Contains the x- and y-coordinates of the first vertex of a shape, or contains the x- and y-coordinates of the first vertex after a break in a path.
methodgetNURBSToCol()
Contains the x- and y-coordinates, position of the second to last knot, position of the last weight, position of the first knot, position of the first weight, and the formula for a nonuniform rational B-spline (NURBS). This information is specified in the X, Y, A, B, C, D, and E elements, respectively.
methodgetPolylineToCol()
Contains x- and y-coordinates of the last point of a polyline and a polyline formula. The coordinates are specified in the X and Y elements, and the formula is specified in the A element.
methodgetRelCubBezToCol()
Contains x- and y-coordinates for a RelCubBezTo's points.Coordinates are specified as relative coordinates.
methodgetRelEllipticalArcToCol()
Contains elements that specify information about an elliptical arc.Coordinates are specified as relative coordinates.
methodgetRelLineToCol()
Contains x- and y-coordinates of the ending vertex of a straight line segment. These coordinates are contained in the X and Y elements, respectively.Coordinates are specified as relative coordinates.
methodgetRelMoveToCol()
Contains the x- and y-coordinates of the first vertex of a shape, or contains the x- and y-coordinates of the first vertex after a break in a path.Coordinates are specified as relative coordinates.
methodgetRelQuadBezToCol()
Contains x- and y-coordinates for a RelQuadBezTo's points.Coordinates are specified as relative coordinates.
methodgetSplineKnotCol()
Contains x- and y-coordinates for a spline's control point and a spline's knot, represented by the X, Y, and A elements, respectively.
methodgetSplineStartCol()
Contains x- and y-coordinates for a spline's second control point, its second knot, its first knot, the last knot, and the degree of the spline. This information is contained in the X, Y, A, B, C, and D elements, respectively.
methodget(index)
Gets the element at the specified index.
 
Method Summary
methodadd(item)
Add the ArcTo object in the collection.
methodadd(item)
Add the Coordinate object in the collection.
methodadd(item)
Add the Ellipse object in the collection.
methodadd(item)
Add the EllipticalArcTo object in the collection.
methodadd(item)
Add the InfiniteLine object in the collection.
methodadd(item)
Add the LineTo object in the collection.
methodadd(item)
Add the MoveTo object in the collection.
methodadd(item)
Add the NURBSTo object in the collection.
methodadd(item)
Add the PolylineTo object in the collection.
methodadd(item)
Add the RelCubBezTo object in the collection.
methodadd(item)
Add the RelEllipticalArcTo object in the collection.
methodadd(item)
Add the RelLineTo object in the collection.
methodadd(item)
Add the RelMoveTo object in the collection.
methodadd(item)
Add the RelQuadBezTo object in the collection.
methodadd(item)
Add the SplineKnot object in the collection.
methodadd(item)
Add the SplineStart object in the collection.
methodclear()
Removes all elements from collection.
methodisExist(index)
Is exist item in the collection.
methoditerator()
Supports a simple iteration over a nongeneric collection.
methodremove(item)
Remove the ArcTo object from the collection.
methodremove(item)
Remove the Coordinate object from the collection.
methodremove(item)
Remove the Ellipse object from the collection.
methodremove(item)
Remove the EllipticalArcTo object from the collection.
methodremove(item)
Remove the InfiniteLine object from the collection.
methodremove(item)
Remove the LineTo object from the collection.
methodremove(item)
Remove the MoveTo object from the collection.
methodremove(item)
Remove the NURBSTo object from the collection.
methodremove(item)
Remove the PolylineTo object from the collection.
methodremove(item)
Remove the RelCubBezTo object from the collection.
methodremove(item)
Remove the RelEllipticalArcTo object from the collection.
methodremove(item)
Remove the RelLineTo object from the collection.
methodremove(item)
Remove the RelMoveTo object from the collection.
methodremove(item)
Remove the RelQuadBezTo object from the collection.
methodremove(item)
Remove the SplineKnot object from the collection.
methodremove(item)
Remove the SplineStart object from the collection.
 

    • Property Getters/Setters Detail

      • getMoveToCol : MoveToCollection 

        MoveToCollection getMoveToCol()
        
        Contains the x- and y-coordinates of the first vertex of a shape, or contains the x- and y-coordinates of the first vertex after a break in a path.
      • getLineToCol : LineToCollection 

        LineToCollection getLineToCol()
        
        Contains x- and y-coordinates of the ending vertex of a straight line segment. These coordinates are contained in the X and Y elements, respectively.
      • getArcToCol : ArcToCollection 

        ArcToCollection getArcToCol()
        
        Contains the x- and y-coordinates and bow of a circular arc represented respectively by the X, Y, and A elements.
      • getInfiniteLineCol : InfiniteLineCollection 

        InfiniteLineCollection getInfiniteLineCol()
        
        Contains elements specifying the x- and y-coordinates of two points on an infinite line. The X and Y elements specify the x- and y-coordinates of the first point, and the A and B elements specify the x- and y-coordinates of the second point.
      • getEllipseCol : EllipseCollection 

        EllipseCollection getEllipseCol()
        
        Contains elements specifying the x- and y-coordinates of the ellipse's center point and two points on the ellipse.
      • getSplineStartCol : SplineStartCollection 

        SplineStartCollection getSplineStartCol()
        
        Contains x- and y-coordinates for a spline's second control point, its second knot, its first knot, the last knot, and the degree of the spline. This information is contained in the X, Y, A, B, C, and D elements, respectively.
      • getSplineKnotCol : SplineKnotCollection 

        SplineKnotCollection getSplineKnotCol()
        
        Contains x- and y-coordinates for a spline's control point and a spline's knot, represented by the X, Y, and A elements, respectively.
      • getPolylineToCol : PolylineToCollection 

        PolylineToCollection getPolylineToCol()
        
        Contains x- and y-coordinates of the last point of a polyline and a polyline formula. The coordinates are specified in the X and Y elements, and the formula is specified in the A element.
      • getNURBSToCol : NURBSToCollection 

        NURBSToCollection getNURBSToCol()
        
        Contains the x- and y-coordinates, position of the second to last knot, position of the last weight, position of the first knot, position of the first weight, and the formula for a nonuniform rational B-spline (NURBS). This information is specified in the X, Y, A, B, C, D, and E elements, respectively.
      • getRelMoveToCol : RelMoveToCollection 

        RelMoveToCollection getRelMoveToCol()
        
        Contains the x- and y-coordinates of the first vertex of a shape, or contains the x- and y-coordinates of the first vertex after a break in a path.Coordinates are specified as relative coordinates.
      • getRelLineToCol : RelLineToCollection 

        RelLineToCollection getRelLineToCol()
        
        Contains x- and y-coordinates of the ending vertex of a straight line segment. These coordinates are contained in the X and Y elements, respectively.Coordinates are specified as relative coordinates.
      • getCount : int 

        int getCount()
        
        Gets the number of elements actually contained in the collection.
    • Method Detail

      • add

        int add(item)
        Add the Coordinate object in the collection.
      • remove

         remove(item)
        Remove the Coordinate object from the collection.
      • add

        int add(item)
        Add the MoveTo object in the collection.
        Returns:
      • remove

         remove(item)
        Remove the MoveTo object from the collection.
      • add

        int add(item)
        Add the LineTo object in the collection.
        Returns:
      • remove

         remove(item)
        Remove the LineTo object from the collection.
      • add

        int add(item)
        Add the ArcTo object in the collection.
        Returns:
      • remove

         remove(item)
        Remove the ArcTo object from the collection.
      • add

        int add(item)
        Add the InfiniteLine object in the collection.
        Returns:
      • remove

         remove(item)
        Remove the InfiniteLine object from the collection.
      • add

        int add(item)
        Add the Ellipse object in the collection.
        Returns:
      • remove

         remove(item)
        Remove the Ellipse object from the collection.
      • add

        int add(item)
        Add the EllipticalArcTo object in the collection.
        Returns:
      • remove

         remove(item)
        Remove the EllipticalArcTo object from the collection.
      • add

        int add(item)
        Add the SplineStart object in the collection.
        Returns:
      • remove

         remove(item)
        Remove the SplineStart object from the collection.
      • add

        int add(item)
        Add the SplineKnot object in the collection.
        Returns:
      • remove

         remove(item)
        Remove the SplineKnot object from the collection.
      • add

        int add(item)
        Add the PolylineTo object in the collection.
        Returns:
      • remove

         remove(item)
        Remove the PolylineTo object from the collection.
      • add

        int add(item)
        Add the NURBSTo object in the collection.
        Returns:
      • remove

         remove(item)
        Remove the NURBSTo object from the collection.
      • add

        int add(item)
        Add the RelCubBezTo object in the collection.
        Returns:
      • remove

         remove(item)
        Remove the RelCubBezTo object from the collection.
      • add

        int add(item)
        Add the RelQuadBezTo object in the collection.
        Returns:
      • remove

         remove(item)
        Remove the RelQuadBezTo object from the collection.
      • add

        int add(item)
        Add the RelMoveTo object in the collection.
        Returns:
      • remove

         remove(item)
        Remove the RelMoveTo object from the collection.
      • add

        int add(item)
        Add the RelLineTo object in the collection.
        Returns:
      • remove

         remove(item)
        Remove the RelLineTo object from the collection.
      • add

        int add(item)
        Add the RelEllipticalArcTo object in the collection.
        Returns:
      • remove

         remove(item)
        Remove the RelEllipticalArcTo object from the collection.
      • iterator

        Iterator iterator()
        Supports a simple iteration over a nongeneric collection.
        Returns:
      • isExist

        boolean isExist(index)
        Is exist item in the collection.
        Parameters:
        index: int - index of element.
        Returns:
      • clear

         clear()
        Removes all elements from collection.