Nevron .NET Vision
Nevron.GraphicsCore Namespace / NGraphicsPath Class
Fields Properties Methods


In This Topic
    NGraphicsPath Class Members
    In This Topic

    The following tables list the members exposed by NGraphicsPath.

    Public Constructors
     NameDescription
    Public ConstructorOverloaded.   
    Top
    Public Fields
     NameDescription
    Public FieldThe close figure command bit  
    Public FieldMasks the attributes in a type byte  
    Public FieldThe Cubic Bezier To command bit  
    Public FieldThe Line To command bit  
    Public FieldMasks the commands in a type byte  
    Public FieldThe Start Figure command bit  
    Public Fieldstatic (Shared in Visual Basic)Default flatness for operations where flatness is not specified  
    Top
    Public Properties
     NameDescription
    Public PropertyGets the bounds of this geometry object.  
    Public PropertyGets 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.  
    Public PropertyChecks if the graphics path contains closed figures.  
    Public PropertyChecks if the graphics path contains open figures.  
    Public PropertyGets whether this object is empty (i.e. contains no points)  
    Public PropertyReturns true if a figure is started in this path, otherwise false.  
    Public PropertyGets whether this path is flat (i.e. contains only line segments)  
    Top
    Public Methods
     NameDescription
    Public MethodAdds a circle to the path  
    Public MethodOverloaded. Adds a circle segment to the path.  
    Public MethodOverloaded. Adds a cardinal spline closed figure to this path.  
    Public MethodOverloaded. Adds a cubic bezier  
    Public MethodThe 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.  
    Public MethodOverloaded. Adds a cardinal spline to the current figure of this path.  
    Public MethodOverloaded. Adds the ellipse enclosed by the specified rect  
    Public MethodOverloaded. Adds an ellipse segment to the path  
    Public MethodAdds an elliptical arc  
    Public MethodOverloaded. Adds a line segment to the path  
    Public MethodAdds the specified path to this path.  
    Public MethodOverloaded. Adds a pie.  
    Public MethodOverloaded. Adds a polygon to the path. The polygon is added as a separate figure.  
    Public MethodOverloaded. Adds a polyline.  
    Public MethodAdds a quad  
    Public MethodOverloaded. Adds a rectangle to the path  
    Public MethodOverloaded. Adds a rounded rectangle to the path. The rounding parameter defines the desired size of the corner circle radius.  
    Public Method  
    Public MethodCloses all figures in this graphics path  
    Public MethodCloses the current figure.  
    Public MethodOverloaded. Draws a cubic bezier from the prev point to the specified point  
    Public MethodCreates an identical copy of this object.  
    Public MethodOverriden to return true if the object is a NGraphicsPath that defines the same geometry as this graphics path.  
    Public MethodGets the figures in the graphics path  
    Public MethodGets the figures count.  
    Public MethodGets the sub-path of this path that represents the specified figure. The specified figure must belongs to this path.  
    Public MethodGets the figure types .  
    Public MethodOverriden because equals was overriden.  
    Public MethodGets the path point at the specified index  
    Public MethodGets the points of the path  
    Public MethodGets information about the point at the specified index  
    Public MethodGets the point type at the specified index  
    Public MethodGets the types of the points in the path. DO NOT MODIFY THE RETURNED ARRAY.  
    Public MethodOverloaded. Draws a line from the prev point to the specified point  
    Public MethodOverloaded. Draws multiple LineTo commands through the specified points.  
    Public MethodOverloaded. Moves to the specified point (starts a new figure)  
    Top
    See Also