Android.Graphics.Path: Method Members

The methods of Android.Graphics.Path are listed below. For a list of all members, see the Path Members list.

See Also: Inherited members from Java.Lang.Object

Public Methods

AddArc(RectF, float, float)
Add the specified arc to the path as a new contour.
AddArc(float, float, float, float, float, float)
Add the specified arc to the path as a new contour.
AddCircle(float, float, float, Path.Direction)
Add a closed circle contour to the path
AddOval(RectF, Path.Direction)
Add a closed oval contour to the path
AddOval(float, float, float, float, Path.Direction)
Add a closed oval contour to the path
AddPath(Path)
Add a copy of src to the path
AddPath(Path, Matrix)
Add a copy of src to the path, transformed by matrix
AddPath(Path, float, float)
Add a copy of src to the path, offset by (dx,dy)
AddRect(RectF, Path.Direction)
Add a closed rectangle contour to the path
AddRect(float, float, float, float, Path.Direction)
Add a closed rectangle contour to the path
AddRoundRect(RectF, float[], Path.Direction)
Add a closed round-rectangle contour to the path.
AddRoundRect(RectF, float, float, Path.Direction)
Add a closed round-rectangle contour to the path
AddRoundRect(float, float, float, float, float[], Path.Direction)
Add a closed round-rectangle contour to the path.
AddRoundRect(float, float, float, float, float, float, Path.Direction)
Add a closed round-rectangle contour to the path
ArcTo(RectF, float, float)
Append the specified arc to the path as a new contour.
ArcTo(RectF, float, float, bool)
Append the specified arc to the path as a new contour.
ArcTo(float, float, float, float, float, float, bool)
Append the specified arc to the path as a new contour.
Close()
Close the current contour.
ComputeBounds(RectF, bool)
Compute the bounds of the control points of the path, and write the answer into bounds.
CubicTo(float, float, float, float, float, float)
Add a cubic bezier from the last point, approaching control points (x1,y1) and (x2,y2), and ending at (x3,y3).
GetFillType() : Path.FillType
Return the path's fill type.
IncReserve(int)
Hint to the path to prepare for adding more points.
InvokeOp(Path, Path.Op) : bool
Set this path to the result of applying the Op to this path and the specified path.
InvokeOp(Path, Path, Path.Op) : bool
Set this path to the result of applying the Op to the two specified paths.
IsRect(RectF) : bool
Returns true if the path specifies a rectangle.
LineTo(float, float)
Add a line from the last point to the specified point (x,y).
MoveTo(float, float)
Set the beginning of the next contour to the point (x,y).
Offset(float, float)
Offset the path by (dx,dy), returning true on success
Offset(float, float, Path)
Offset the path by (dx,dy), returning true on success
QuadTo(float, float, float, float)
Add a quadratic bezier from the last point, approaching control point (x1,y1), and ending at (x2,y2).
RCubicTo(float, float, float, float, float, float)
Same as cubicTo, but the coordinates are considered relative to the current point on this contour.
Reset()
Clear any lines and curves from the path, making it empty.
Rewind()
Rewinds the path: clears any lines and curves from the path but keeps the internal data structure for faster reuse.
RLineTo(float, float)
Same as lineTo, but the coordinates are considered relative to the last point on this contour.
RMoveTo(float, float)
Set the beginning of the next contour relative to the last point on the previous contour.
RQuadTo(float, float, float, float)
Same as quadTo, but the coordinates are considered relative to the last point on this contour.
Set(Path)
Replace the contents of this with the contents of src.
SetFillType(Path.FillType)
Set the path's fill type.
SetLastPoint(float, float)
Sets the last point of the path.
ToggleInverseFillType()
Toggles the INVERSE state of the filltype
Transform(Matrix)
Transform the points in this path by matrix.
Transform(Matrix, Path)
Transform the points in this path by matrix, and write the answer into dst.