Name | Description | |
---|---|---|
NGraphicsPath Constructor | Overloaded. |
The following tables list the members exposed by NGraphicsPath.
Name | Description | |
---|---|---|
NGraphicsPath Constructor | Overloaded. |
Name | Description | |
---|---|---|
AttributeClose | The close figure command bit | |
AttributeMask | Masks the attributes in a type byte | |
CommandCubicBezierTo | The Cubic Bezier To command bit | |
CommandLineTo | The Line To command bit | |
CommandMask | Masks the commands in a type byte | |
CommandStartFigure | The Start Figure command bit | |
DefaultFlattness | Default flatness for operations where flatness is not specified |
Name | Description | |
---|---|---|
Bounds | Gets the bounds of this geometry object. | |
ExactBounds | Gets the exact bounds of this path. This method is more costly to caclulate than Bounds, but the returned bounds take into account the exact bounds of contained cubic beziers, while the Bounds method only takes into account the cubic beziers hull bounds (bounds of end-points and control points). For flat paths the results of Bounds and ExactBounds is the same. | |
HasClosedFigures | Checks if the graphics path contains closed figures. | |
HasOpenFigures | Checks if the graphics path contains open figures. | |
IsEmpty | Gets whether this object is empty (i.e. contains no points) | |
IsFigureStarted | Returns true if a figure is started in this path, otherwise false. | |
IsFlat | Gets whether this path is flat (i.e. contains only line segments) |
Name | Description | |
---|---|---|
AddCircle | Adds a circle to the path | |
AddCircleSegment | Overloaded. Adds a circle segment to the path. | |
AddClosedCurve | Overloaded. Adds a cardinal spline closed figure to this path. | |
AddCubicBezier | Overloaded. Adds a cubic bezier | |
AddCubicBeziers | The points parameter specifies an array of endpoints and control points of the connected curves. The first curve is constructed from the first point to the fourth point in the points array by using the second and third points as control points. In addition to the endpoint of the previous curve, each subsequent curve in the sequence needs exactly three more points: the next two points in the sequence are control points, and the third is the endpoint for the added curve. If there are previous lines or curves in the figure, a line is added to connect the endpoint of the previous segment to the starting point of the first cubic curve in the sequence. | |
AddCurve | Overloaded. Adds a cardinal spline to the current figure of this path. | |
AddEllipse | Overloaded. Adds the ellipse enclosed by the specified rect | |
AddEllipseSegment | Overloaded. Adds an ellipse segment to the path | |
AddEllipticalArc | Adds an elliptical arc | |
AddLineSegment | Overloaded. Adds a line segment to the path | |
AddPath | Adds the specified path to this path. | |
AddPie | Overloaded. Adds a pie. | |
AddPolygon | Overloaded. Adds a polygon to the path. The polygon is added as a separate figure. | |
AddPolyline | Overloaded. Adds a polyline. | |
AddQuad | Adds a quad | |
AddRectangle | Overloaded. Adds a rectangle to the path | |
AddRoundedRectangle | Overloaded. Adds a rounded rectangle to the path. The rounding parameter defines the desired size of the corner circle radius. | |
AddToPath | ||
CloseAllFigures | Closes all figures in this graphics path | |
CloseFigure | Closes the current figure. | |
CubicBezierTo | Overloaded. Draws a cubic bezier from the prev point to the specified point | |
DeepClone | Creates an identical copy of this object. | |
Equals | Overriden to return true if the object is a NGraphicsPath that defines the same geometry as this graphics path. | |
GetFigure | Gets the figures in the graphics path | |
GetFigureCount | Gets the figures count. | |
GetFigurePath | Gets the sub-path of this path that represents the specified figure. The specified figure must belongs to this path. | |
GetFigureTypes | Gets the figure types . | |
GetHashCode | Overriden because equals was overriden. | |
GetPathPoint | Gets the path point at the specified index | |
GetPathPoints | Gets the points of the path | |
GetPointInfo | Gets information about the point at the specified index | |
GetPointType | Gets the point type at the specified index | |
GetTypes | Gets the types of the points in the path. DO NOT MODIFY THE RETURNED ARRAY. | |
LineTo | Overloaded. Draws a line from the prev point to the specified point | |
LineTos | Overloaded. Draws multiple LineTo commands through the specified points. | |
StartFigure | Overloaded. Moves to the specified point (starts a new figure) |