Nevron Open Vision Documentation
Nevron.Nov.Graphics 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. (Inherited from Nevron.Nov.Graphics.NMultiPointBase)
    Public PropertyGets the bounds of this geometry object (Inherited from Nevron.Nov.Graphics.NMultiPointBase)
    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) (Inherited from Nevron.Nov.Graphics.NMultiPointBase)
    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)  
    Public PropertyGets whether the path contains NaN coordinates  
    Public PropertyGets whether this graphics object is sealed. (Inherited from Nevron.Nov.Graphics.NSealableObject)
    Top
    Public Methods
     NameDescription
    Public MethodOverloaded. Adds 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 an ellipse to the path  
    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 a non-uniform rational B-spline (NURBS) curve.  
    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 MethodOverloaded. Adds 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 MethodOverridden.   
    Public MethodAdds a triangle.  
    Public MethodOverloaded. Draws a bowed arc to the specified point  
    Public MethodCloses all figures in this graphics path  
    Public MethodCloses the current figure.  
    Public MethodOverloaded. Checks whether the specified point is contained in the filled interior of this path provided that it is filled with the specified filling rule.  
    Public MethodOverloaded. Overridden.   
    Public MethodOverloaded. Draws a cubic bezier from the prev point to the specified point  
    Public MethodOverridden. Creates an identical copy of this object.  
    Public MethodDraws an elliptical arc to the specified point.  
    Public MethodOverriden to return true if the object is a NGraphicsPath that defines the same geometry as this graphics path.  
    Public MethodGets a path that represents the subtraction of this graphics path with the specified other graphics path  
    Public MethodOverloaded. Flattens the path with DefaultFlatness (0.25).  
    Public MethodGets the bounds of the path, after it has been transformed with the specified transform  
    Public MethodGets the exact bounds of the path, after it has been transformed with the specified transform  
    Public MethodGets the figures in the graphics path  
    Public MethodGets the bounds of the specified figure. The specified figure must belongs to this 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 MethodOverridden. Gets the length of this graphics path outline.  
    Public MethodGets the path point at the specified index  
    Public MethodGets the points of the path  
    Public MethodGets the point at the specified index (Inherited from Nevron.Nov.Graphics.NMultiPointBase)
    Public MethodGets the count of points (Inherited from Nevron.Nov.Graphics.NMultiPointBase)
    Public MethodGets information about the point at the specified index  
    Public MethodGets an array of the points contained in this geometry. (Inherited from Nevron.Nov.Graphics.NMultiPointBase)
    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 MethodHit tests the filling of the path.  
    Public MethodHit tests the filling of the path.  
    Public MethodHit test the outline of a path by point.  
    Public MethodHit test the outline of a path by region.  
    Public MethodGets a path that represents the intersection of this graphics path with the specified other graphics path  
    Public MethodOverloaded. Draws a line from the prev point to the specified point  
    Public MethodOverloaded. Draws multiple LineTo commands through the specified points.  
    Public MethodRecycles the object. This operation is performed when the object enters a recycling pool.  
    Public MethodReverses the order of points in the path and preserves the figures logical start and ends.  
    Public MethodRounds the adjacent sharp corners in this path.  
    Public MethodRounds the points in this path to the specified decimals precision.  
    Public MethodScales the points contained in this path with the specified scale factors (Inherited from Nevron.Nov.Graphics.NMultiPointBase)
    Public MethodSeals this graphics object. Further attempts to modify the object throw an exception. (Inherited from Nevron.Nov.Graphics.NSealableObject)
    Public MethodOverloaded. Sets the point at the specified index. (Inherited from Nevron.Nov.Graphics.NMultiPointBase)
    Public MethodFlattens the path with the specified flatness, which is the maximum allowed deviation from the appoximated line segments to the curve segments.  
    Public MethodOverloaded. Moves to the specified point (starts a new figure)  
    Public MethodGets a path that represents the subtraction of this graphics path with the specified other graphics path  
    Public MethodTransforms the graphics path with the specified transform (Inherited from Nevron.Nov.Graphics.NMultiPointBase)
    Public MethodTranslates the points contained in this path with the specified amounts (Inherited from Nevron.Nov.Graphics.NMultiPointBase)
    Public MethodTries to get the percent location and angle from the specified location factor.  
    Public MethodGets the nearest intersection point to dirPoint out of all intersections between this geometry and the centerPoint:dirPoint vector. All points are in shape local coordinates.  
    Public MethodTries to snap the specified point to the neareast point from this path outline, that is no further that the specified distance.  
    Public MethodGets a path that represents the union of this graphics path with the specified other graphics path  
    Public MethodOverloaded. Widen the path using default flatness.  
    Top
    Protected Methods
     NameDescription
    Protected MethodDetermines whether this object can be sealed. (Inherited from Nevron.Nov.Graphics.NSealableObject)
    Protected MethodCalled when the object is sealed (Inherited from Nevron.Nov.Graphics.NSealableObject)
    Top
    See Also