CoordinateCollection
Source: aspose.
Coordinate collection.
Methods
- getArcToCol()
- getCount()
- getEllipseCol()
- getEllipticalArcToCol()
- getInfiniteLineCol()
- getLineToCol()
- getMoveToCol()
- getNURBSToCol()
- getPolylineToCol()
- getRelCubBezToCol()
- getRelEllipticalArcToCol()
- getRelLineToCol()
- getRelMoveToCol()
- getRelQuadBezToCol()
- getSplineKnotCol()
- getSplineStartCol()
- isExist(index)
- iterator()
Methods
add()
Add the Coordinate object in the collection.
add() → Number
Add the MoveTo object in the collection.
- Returns
-
Number
add() → Number
Add the LineTo object in the collection.
- Returns
-
Number
add() → Number
Add the ArcTo object in the collection.
- Returns
-
Number
add() → Number
Add the InfiniteLine object in the collection.
- Returns
-
Number
add() → Number
Add the Ellipse object in the collection.
- Returns
-
Number
add() → Number
Add the EllipticalArcTo object in the collection.
- Returns
-
Number
add() → Number
Add the SplineStart object in the collection.
- Returns
-
Number
add() → Number
Add the SplineKnot object in the collection.
- Returns
-
Number
add() → Number
Add the PolylineTo object in the collection.
- Returns
-
Number
add() → Number
Add the NURBSTo object in the collection.
- Returns
-
Number
add() → Number
Add the RelCubBezTo object in the collection.
- Returns
-
Number
add() → Number
Add the RelQuadBezTo object in the collection.
- Returns
-
Number
add() → Number
Add the RelMoveTo object in the collection.
- Returns
-
Number
add() → Number
Add the RelLineTo object in the collection.
- Returns
-
Number
add() → Number
Add the RelEllipticalArcTo object in the collection.
- Returns
-
Number
clear()
Removes all elements from collection.
get() → Coordinate
Gets the element at the specified index.
- Returns
getArcToCol()
Contains the x- and y-coordinates and bow of a circular arc represented respectively by the X, Y, and A elements.
getCount()
Gets the number of elements actually contained in the collection.
getEllipseCol()
Contains elements specifying the x- and y-coordinates of the ellipse's center point and two points on the ellipse.
getEllipticalArcToCol()
Contains elements that specify information about an elliptical arc.
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.
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.
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.
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.
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.
getRelCubBezToCol()
Contains x- and y-coordinates for a RelCubBezTo's points.Coordinates are specified as relative coordinates.
getRelEllipticalArcToCol()
Contains elements that specify information about an elliptical arc.Coordinates are specified as relative coordinates.
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.
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.
getRelQuadBezToCol()
Contains x- and y-coordinates for a RelQuadBezTo's points.Coordinates are specified as relative coordinates.
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.
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.
isExist(index) → boolean
Is exist item in the collection.
Parameter
Name | Type | Optional | Description |
---|---|---|---|
index |
Number |
|
index of element. |
- Returns
-
boolean
iterator() → Iterator
Supports a simple iteration over a nongeneric collection.
- Returns
-
Iterator
remove()
Remove the Coordinate object from the collection.
remove()
Remove the MoveTo object from the collection.
remove()
Remove the LineTo object from the collection.
remove()
Remove the ArcTo object from the collection.
remove()
Remove the InfiniteLine object from the collection.
remove()
Remove the Ellipse object from the collection.
remove()
Remove the EllipticalArcTo object from the collection.
remove()
Remove the SplineStart object from the collection.
remove()
Remove the SplineKnot object from the collection.
remove()
Remove the PolylineTo object from the collection.
remove()
Remove the NURBSTo object from the collection.
remove()
Remove the RelCubBezTo object from the collection.
remove()
Remove the RelQuadBezTo object from the collection.
remove()
Remove the RelMoveTo object from the collection.
remove()
Remove the RelLineTo object from the collection.
remove()
Remove the RelEllipticalArcTo object from the collection.