Search
SvgNode Methods
 


 Public Methods

  Name Description

AcceptLinks

Determines whether the node can be connected with links of the specified type. (Inherited from DiagramNode.)

AddLabel

Overloaded. Adds a new label to this node. (Inherited from DiagramNode.)

AttachManipulator

Adds the specified manipulator to this node. (Inherited from DiagramNode.)

AttachTo

Overloaded. Attaches this node to another diagram item. (Inherited from DiagramNode.)

clone

ShapeNode.clone override.

Clone

Creates a copy of this item. (Inherited from DiagramItem.)

Collapse

Hides all nodes and links in the subtree starting from this node. (Inherited from DiagramNode.)

ContainsPoint

Overloaded.   (Inherited from ShapeNode.)

CreateConnectionPoint

DiagramNode.CreateConnectionPoint override. (Inherited from ShapeNode.)

Detach

Detaches this node from its master item. (Inherited from DiagramNode.)

DetachManipulator

Removes the specified manipulator from this node. (Inherited from DiagramNode.)

DoModify

For internal use. (Inherited from DiagramItem.)

Draw

DiagramItem.Draw override. Draws the item on the specified IGraphics surface. (Inherited from DiagramNode.)

DrawAnchors

Draws the anchor points of this node. (Inherited from DiagramNode.)

DrawHandles

DiagramNode.DrawHandles override. Renders the adjustment handles of this item. (Inherited from ShapeNode.)

DrawLocal

Draws the node on the specified IGraphics surface. (Inherited from ShapeNode.)

DrawShadow

DiagramItem.DrawShadow override. Draws the shadow of this item on the specified IGraphics surface. (Inherited from DiagramNode.)

DrawShadowLocal

Draws the shadow of this node on the specified IGraphics surface. (Inherited from ShapeNode.)

Expand

Shows all nodes and links in the subtree starting from this node. (Inherited from DiagramNode.)

fromJson

ShapeNode.fromJson override.

GetAllIncomingLinks

Overloaded.   (Inherited from DiagramNode.)

GetAllLinks

Gets all links connected to this node. (Inherited from DiagramNode.)

GetBounds

Gets the bounding rectangle of this item. (Inherited from DiagramItem.)

GetCenter

Gets the center of this node's bounding rectangle. (Inherited from DiagramNode.)

GetClosestAnchorPoint

Returns the index of the anchor point that lies at the shortest distance from the specified point. (Inherited from DiagramNode.)

GetEffectiveBrush

Creates a System.Drawing.Brush object representing the currently effective brush of the item. (Inherited from DiagramItem.)

GetEffectivePen

Creates a System.Drawing.Pen object representing the currently effective pen of the item. (Inherited from DiagramItem.)

GetEffectiveShadowBrush

Creates a System.Drawing.Brush object representing the currently effective shadow brush of the item. (Inherited from DiagramItem.)

GetEffectiveTextBrush

Creates a System.Drawing.Brush object representing the currently effective text brush of the item. (Inherited from DiagramItem.)

GetIntersection

Calculates the intersection point between the segment defined by the specified point pair and the node's outline. (Inherited from ShapeNode.)

GetNearestBorderPoint

Returns a point that lies on the outline of this node, at the shortest distance from the specified point. (Inherited from DiagramNode.)

GetOutlinePoly

Node.GetOutlinePoly override. (Inherited from ShapeNode.)

GetRepaintRect

DiagramNode.GetRepaintRect override. (Inherited from ShapeNode.)

GetRotatedBounds

Overloaded. Gets the bounding rectangle of this node or the bounding rectangle of another rectangle rotated at a specified angle around a specified point. (Inherited from DiagramNode.)

GetRotationAngle

Gets the rotation angle of this node. (Inherited from DiagramNode.)

GetToolTip

DiagramItem.GetToolTip override. (Inherited from DiagramNode.)

HitTest

Returns the diagram item that contains the specified point. (Inherited from DiagramItem.)

HitTestHandle

DiagramNode.HitTestHandle override. Determines whether a selection handle of this item is located at the specified point. (Inherited from ShapeNode.)

HitTestManipulators

DiagramItem.HitTestManipulators override. (Inherited from DiagramNode.)

init

Returns a Builder object used to configure this SvgNode instance.

Intersects

Determines whether the node intersects another one, taking into account the outlines of node shapes. (Inherited from DiagramNode.)

LabelFromPoint

Returns the label whose layout rectangle contains the specified point. (Inherited from DiagramNode.)

loadFromXml

DiagramNode.LoadFromXml override. Loads the node's content from an XML element.

Move

Moves the node to the specified location. (Inherited from DiagramNode.)

NotInteractive

Gets whether the user is prevented from manipulating this item. (Inherited from DiagramItem.)

NowModifying

Gets a flag indicating whether this object is being currently modified interactively by the user. (Inherited from DiagramItem.)

OnDragOut

Invoked when a diagram item is being dragged out of this node. (Inherited from DiagramNode.)

OnDragOver

Invoked when a diagram item is being dragged over this node. (Inherited from DiagramNode.)

OnDropOver

Invoked when a diagram item is dropped over this node. (Inherited from DiagramNode.)

OnLoad

DiagramItem.OnLoad override. (Inherited from ShapeNode.)

Query

Returns the items that can be reached from this item by following the path specified in the given query expression. (Inherited from DiagramItem.)

ReassignAnchorPoints

Reassigns links to anchor points so that they are evenly distributed. (Inherited from DiagramNode.)

ReassignUnanchoredLinks

Reassigns unanchored links (Inherited from DiagramNode.)

RemoveLabel

Removes the specified label from this node. (Inherited from DiagramNode.)

Resize

Resizes the node. (Inherited from DiagramNode.)

ResizeToFitImage

Makes the shape node as big as the image it displays. (Inherited from ShapeNode.)

ResizeToFitText

Makes the shape node big enough to display its text without clipping. (Inherited from ShapeNode.)

RestoreItemProperties

For internal use. (Inherited from DiagramItem.)

SaveItemProperties

For internal use. (Inherited from DiagramItem.)

saveToXml

Saves the node's content into an XML element.

SetBounds

Sets the location and size of this node. (Inherited from DiagramNode.)

SetExpandedFlag

Sets the 'expanded' flag, repainting the node. (Inherited from DiagramNode.)

SetPos

Sets the bounding rectangle of this node without updating connected arrows. (Inherited from DiagramNode.)

SetRect

This method is used internally by the Ruler control to align nodes. (Inherited from DiagramNode.)

toJson

ShapeNode.toJson override.

UpdateAnimation

Invoked by running animations to update an item according to current animation progress. (Inherited from DiagramNode.)

With

Returns a Builder object used to configure and create new SvgNode instances.

ZBottom

Moves the item to the bottom of the z-order. (Inherited from DiagramItem.)

ZLevelDown

Moves the item one level down in the z-order. (Inherited from DiagramItem.)

ZLevelUp

Moves the item one level up in the z-order. (Inherited from DiagramItem.)

ZTop

Moves the item to the top of the z-order. (Inherited from DiagramItem.)

 Protected Methods

  Name Description

AddManipulator

Adds the specified manipulator to this object. (Inherited from DiagramItem.)

AllowCreate

DiagramItem.AllowCreate override. (Inherited from DiagramNode.)

AllowModify

DiagramNode.AllowModify override. Invoked during interactive modification of items to test whether the operation can be completed in the current context. (Inherited from ShapeNode.)

CancelModify

DiagramNode.CancelModify override. Invoked when the interactive modification of this object has been canceled. (Inherited from ShapeNode.)

CompleteCreate

DiagramItem.CompleteCreate override. (Inherited from DiagramNode.)

CompleteModify

DiagramNode.CompleteModify override. Invoked when the item modification has been completed. (Inherited from ShapeNode.)

ConstraintsInfringed

Checks whether the KeepInsideParent constrained is being violated. (Inherited from DiagramNode.)

CreateProperties

DiagramItem.CreateProperties override. (Inherited from ShapeNode.)

CreateState

DiagramNode.CreateState override; creates a ShapeNodeState instance. (Inherited from ShapeNode.)

Dispose

Disposes any disposable resources managed by this shape. (Inherited from ShapeNode.)

DrawManipulators

Overloaded. Draws the associated manipulators on a specified graphics. (Inherited from DiagramItem.)

Finalize

DiagramItem finalizer. (Inherited from DiagramItem.)

FreeResources

Called when the node is completely disassociated from a Diagram, that is, when it is no longer referenced from an item collection or the undo/redo history. (Inherited from DiagramNode.)

GetAllOutgoingLinks

Overloaded.   (Inherited from DiagramNode.)

GetImageRect

Overloaded. Gets the destination rectangle of the node's image. (Inherited from ShapeNode.)

GetLocalBounds

Gets this node's bounding rectangle in local coordinates. (Inherited from DiagramNode.)

GetRgnInRect

Creates and returns a Region object for this node as though it is contained in the specified rectangle. (Inherited from ShapeNode.)

GetValue

Gets the effective value of the style property with the specified name. (Inherited from DiagramItem.)

GroupContains

Determines whether this node is a predecessor of the specified node in the group hierarchy. (Inherited from DiagramNode.)

LoadFrom

Deserializes the object from the specified reader. (Inherited from ShapeNode.)

LoadFromJson

Loads the node from a JSON object. (Inherited from ShapeNode.)

LoadFromXml

Loads the item content from an XML element. (Inherited from ShapeNode.)

LoadObsolete

For internal use. (Inherited from DiagramItem.)

OnAdd

Called when the item is added to a Diagram, either by users, programmatically or via undo / redo. (Inherited from ShapeNode.)

OnChildModified

Called when a group child node has been modified. (Inherited from DiagramItem.)

OnClick

Invoked when the user clicks this item. (Inherited from DiagramItem.)

OnDoubleClick

Invoked when the user double-clicks this item. (Inherited from DiagramItem.)

OnMeasureUnitChanged

Called when the Diagram's MeasureUnit changes. (Inherited from ShapeNode.)

OnModify

Invoked when the user moves or resizes this node. (Inherited from DiagramNode.)

OnRemove

DiagramItem.OnRemove override. (Inherited from DiagramNode.)

OnRotationAngleChanged

DiagramNode.OnRotationAngleChanged override. (Inherited from ShapeNode.)

OnStyleChanged

DiagramItem.OnStyleChanged override. (Inherited from ShapeNode.)

OnTextChanged

DiagramItem.OnTextChanged override. (Inherited from ShapeNode.)

OnTextFormatChanged

DiagramItem.OnTextFormatChanged override. (Inherited from ShapeNode.)

OnUpdateBounds

DiagramNode.OnUpdateBounds override. (Inherited from ShapeNode.)

OnZoomChanged

Called when the Diagram's ZoomFactor changes. (Inherited from ShapeNode.)

RemoveManipulator

Removes the specified manipulator from the object. (Inherited from DiagramItem.)

Repaint

Overloaded.   (Inherited from DiagramItem.)

RestoreProperties

DiagramNode.RestoreProperties override. (Inherited from ShapeNode.)

RestoreState

DiagramNode.RestoreState override. Restores the state of this diagram item. (Inherited from ShapeNode.)

SaveProperties

DiagramNode.SaveProperties override. (Inherited from ShapeNode.)

SaveState

DiagramNode.SaveState override. Saves the state of this diagram item. (Inherited from ShapeNode.)

SaveTo

Serializes the object to the specified writer. (Inherited from ShapeNode.)

SaveToJson

Saves the node as a JSON object. (Inherited from ShapeNode.)

SaveToXml

Saves the item content into an XML element. (Inherited from ShapeNode.)

ScaleElements

Scales the node's elements by specified amount. (Inherited from DiagramNode.)

SetDiagramDirty

Marks the diagram as changed. (Inherited from DiagramItem.)

SetExpandable

Internally sets the expandable state of this object to the specified value, adding or removing an Expander manipulator object if necessary. (Inherited from DiagramNode.)

SetExpanded

DiagramItem.SetExpanded override. (Inherited from DiagramNode.)

SetIncomingLinks

Sets the incoming links collection of this node. (Inherited from DiagramNode.)

SetOutgoingLinks

Sets the outgoing links collection of this node. (Inherited from DiagramNode.)

SetReference

Updates the reference to the specified object. (Inherited from ShapeNode.)

SetReflexive

Invoked to let a node set the shape of a reflexive link connected to it. (Inherited from DiagramNode.)

ShouldRender

Determines whether the item should be rendered in the current context. (Inherited from DiagramItem.)

ShouldRenderAnchors

Determines whether the node should render its anchor points. (Inherited from DiagramNode.)

StartCreate

DiagramItem.StartCreate override. (Inherited from DiagramNode.)

StartModify

DiagramNode.StartModify override. Invoked when the user starts modifying this item interactively. (Inherited from ShapeNode.)

UpdateCreate

DiagramItem.UpdateCreate override. (Inherited from DiagramNode.)

UpdateGroup

Called to update the positions of subordinate nodes attached to this item when the attachment style is set to ControlledByMaster. (Inherited from DiagramItem.)

UpdateLinkIntersections

Updates the intersection points of links, connected to this node and its outline, usually in response to change in the node's shape. (Inherited from DiagramNode.)

UpdateLinkPositions

Updates the end points of the links, connected to this node, usually in response to change in the node's size or shape. (Inherited from DiagramNode.)

UpdateModify

DiagramNode.UpdateModify override. Invoked during interactive modification of this item. (Inherited from ShapeNode.)

 See Also