Nevron .NET Vision
Nevron.Diagram Namespace / NPathPrimitive Class
Members


In This Topic
    NPathPrimitive Class
    In This Topic
    The NPathPrimitive class represents a primitive model, whose content is a GraphicsPath
    Object Model
    NPathPrimitive Class
    Syntax
    'Declaration
     
    
    <System.Xml.Serialization.XmlIncludeAttribute(Nevron.Diagram.NLinePath)>
    <System.ComponentModel.EditorAttribute(Nevron.Diagram.Editors.NDiagramElementTypeEditor, System.Drawing.Design.UITypeEditor)>
    <System.SerializableAttribute()>
    Public MustInherit Class NPathPrimitive 
       Inherits NPrimitiveModel
       Implements INAncestorTransformObserver, INBoundable, INContextMenuEditable, INDiagramElement, INDirtyInflate, INDragDropEventHandler, INHitTestable, INInvalidatable, INKeyboardEventHandler, INMeasurements, INMouseEventHandler, INPaintable, INPoints, INStyleable, INStyleComposer, INTransformable, INTranslatable, INVisible, INZOrderable, Nevron.Dom.INAttributeContainer, Nevron.Dom.INAttributeObserver, Nevron.Dom.INElement, Nevron.Dom.INHistoryCallback, Nevron.Dom.INIdentifiable, Nevron.Dom.INNode, Nevron.Dom.INUniquelyIdentifiable, Nevron.INReferenceHolder, Nevron.INReferenceProvider 
    'Usage
     
    
    Dim instance As NPathPrimitive
    Remarks
    The NPathPrimitive extends the base NModel with the following features:
    • NPathPrimitive implements the INPoints interface, thus exposing a set of base and control points (in scene coordinates), which can be used to modify the path model.
    • Paths can be painted. That is why they implement the INPaintable interface
    • Paths can be the result of hit tests, hence they implement the INHitTestable interface.
    Inheritance Hierarchy

    System.Object
       Nevron.Diagram.NDiagramNode
          Nevron.Diagram.NDiagramElement
             Nevron.Diagram.NStyleComposerElement
                Nevron.Diagram.NStyleableElement
                   Nevron.Diagram.NTransformableElement
                      Nevron.Diagram.NModel
                         Nevron.Diagram.NPrimitiveModel
                            Nevron.Diagram.NPathPrimitive
                               Nevron.Diagram.NArrowPath
                               Nevron.Diagram.NBezierCurvePath
                               Nevron.Diagram.NCircularArcPath
                               Nevron.Diagram.NCustomPath
                               Nevron.Diagram.NEllipsePath
                               Nevron.Diagram.NEllipticalArcPath
                               Nevron.Diagram.NLinePath
                               Nevron.Diagram.NPolyPathPrimitive
                               Nevron.Diagram.NRectanglePath

    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also