A GraphicsPath is a representaion of a geometric path, essentially a collection of lines and curves. Paths can be used to define areas to be stroked and filled on a GraphicsContext.
__init__ | A path is essentially an object that we use just for |
AddCurveToPoint | Adds a cubic Bezier curve from the current point, using two |
AddLineToPoint | Adds a straight line from the current point to (x,y) |
AddRectangle | Adds a new rectangle as a closed sub-path. |
CloseSubpath | Adds a line segment to the path from the current point to the |
MoveToPoint | Begins a new sub-path at (x,y) by moving the “current point” there. |
A GraphicsPath is a representaion of a geometric path, essentially a collection of lines and curves. Paths can be used to define areas to be stroked and filled on a GraphicsContext.
A path is essentially an object that we use just for collecting path moves, lines, and curves in order to apply them to the real context using DrawPath
Adds a cubic Bezier curve from the current point, using two control points and an end point.
Adds a straight line from the current point to (x,y)
Adds a new rectangle as a closed sub-path.
Adds a line segment to the path from the current point to the beginning of the current sub-path, and closes this sub-path.
Begins a new sub-path at (x,y) by moving the “current point” there.