com.aspose.diagram

Class CoordinateCollection

  • java.lang.Object
    • Collection
      • com.aspose.diagram.CoordinateCollection
  • All Implemented Interfaces:
    java.lang.Iterable
    public class CoordinateCollection 
    extends Collection

Coordinate collection.

Property Getters/Setters Summary
ArcToCollectiongetArcToCol()
Contains the x- and y-coordinates and bow of a circular arc represented respectively by the X, Y, and A elements.
intgetCount()
Gets the number of elements actually contained in the collection.
EllipseCollectiongetEllipseCol()
Contains elements specifying the x- and y-coordinates of the ellipse's center point and two points on the ellipse.
EllipticalArcToCollectiongetEllipticalArcToCol()
Contains elements that specify information about an elliptical arc.
InfiniteLineCollectiongetInfiniteLineCol()
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.
LineToCollectiongetLineToCol()
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.
MoveToCollectiongetMoveToCol()
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.
NURBSToCollectiongetNURBSToCol()
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.
PolylineToCollectiongetPolylineToCol()
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.
RelCubBezToCollectiongetRelCubBezToCol()
Contains x- and y-coordinates for a RelCubBezTo's points.Coordinates are specified as relative coordinates.
RelEllipticalArcToCollectiongetRelEllipticalArcToCol()
Contains elements that specify information about an elliptical arc.Coordinates are specified as relative coordinates.
RelLineToCollectiongetRelLineToCol()
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.
RelMoveToCollectiongetRelMoveToCol()
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.
RelQuadBezToCollectiongetRelQuadBezToCol()
Contains x- and y-coordinates for a RelQuadBezTo's points.Coordinates are specified as relative coordinates.
SplineKnotCollectiongetSplineKnotCol()
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.
SplineStartCollectiongetSplineStartCol()
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.
Coordinateget(int index)
Gets the element at the specified index.
 
Method Summary
intadd(ArcTo item)
Add the ArcTo object in the collection.
intadd(Ellipse item)
Add the Ellipse object in the collection.
intadd(EllipticalArcTo item)
Add the EllipticalArcTo object in the collection.
intadd(InfiniteLine item)
Add the InfiniteLine object in the collection.
intadd(LineTo item)
Add the LineTo object in the collection.
intadd(MoveTo item)
Add the MoveTo object in the collection.
intadd(NURBSTo item)
Add the NURBSTo object in the collection.
intadd(PolylineTo item)
Add the PolylineTo object in the collection.
intadd(RelCubBezTo item)
Add the RelCubBezTo object in the collection.
intadd(RelEllipticalArcTo item)
Add the RelEllipticalArcTo object in the collection.
intadd(RelLineTo item)
Add the RelLineTo object in the collection.
intadd(RelMoveTo item)
Add the RelMoveTo object in the collection.
intadd(RelQuadBezTo item)
Add the RelQuadBezTo object in the collection.
intadd(SplineKnot item)
Add the SplineKnot object in the collection.
intadd(SplineStart item)
Add the SplineStart object in the collection.
voidclear()
Removes all elements from collection.
booleanisExist(int index)
Is exist item in the collection.
java.util.Iteratoriterator()
Supports a simple iteration over a nongeneric collection.
voidremove(ArcTo item)
Remove the ArcTo object from the collection.
voidremove(Ellipse item)
Remove the Ellipse object from the collection.
voidremove(EllipticalArcTo item)
Remove the EllipticalArcTo object from the collection.
voidremove(InfiniteLine item)
Remove the InfiniteLine object from the collection.
voidremove(LineTo item)
Remove the LineTo object from the collection.
voidremove(MoveTo item)
Remove the MoveTo object from the collection.
voidremove(NURBSTo item)
Remove the NURBSTo object from the collection.
voidremove(PolylineTo item)
Remove the PolylineTo object from the collection.
voidremove(RelCubBezTo item)
Remove the RelCubBezTo object from the collection.
voidremove(RelEllipticalArcTo item)
Remove the RelEllipticalArcTo object from the collection.
voidremove(RelLineTo item)
Remove the RelLineTo object from the collection.
voidremove(RelMoveTo item)
Remove the RelMoveTo object from the collection.
voidremove(RelQuadBezTo item)
Remove the RelQuadBezTo object from the collection.
voidremove(SplineKnot item)
Remove the SplineKnot object from the collection.
voidremove(SplineStart item)
Remove the SplineStart object from the collection.
 

    • Property Getters/Setters Detail

      • getMoveToCol

        public 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

        public 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

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

        public 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

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

        public EllipticalArcToCollection getEllipticalArcToCol()
        
        Contains elements that specify information about an elliptical arc.
      • getSplineStartCol

        public 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

        public 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

        public 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

        public 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.
      • getRelCubBezToCol

        public RelCubBezToCollection getRelCubBezToCol()
        
        Contains x- and y-coordinates for a RelCubBezTo's points.Coordinates are specified as relative coordinates.
      • getRelQuadBezToCol

        public RelQuadBezToCollection getRelQuadBezToCol()
        
        Contains x- and y-coordinates for a RelQuadBezTo's points.Coordinates are specified as relative coordinates.
      • getRelMoveToCol

        public 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

        public 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.
      • getRelEllipticalArcToCol

        public RelEllipticalArcToCollection getRelEllipticalArcToCol()
        
        Contains elements that specify information about an elliptical arc.Coordinates are specified as relative coordinates.
      • getCount

        public int getCount()
        
        Gets the number of elements actually contained in the collection.
      • get

        public Coordinate get(int index)
        
        Gets the element at the specified index.
        Returns:
    • Method Detail

      • add

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        public void clear()
        Removes all elements from collection.