ShapeNode instances are diagram nodes that represent geometric shapes.
The following tables list the members exposed by the ShapeNode type.
Name | Description | |
---|---|---|
Overloaded. Initializes a new instance of the ShapeNode class. |
Name | Description | |
---|---|---|
For internal use. (Inherited from DiagramItem.) |
Name | Description | |
---|---|---|
Gets or sets a value indicating whether the node's shape flips when an edge is dragged over its opposite edge. |
||
Gets or sets a value indicating whether users are allowed to draw incoming links to this node. (Inherited from DiagramNode.) |
||
Gets or sets a value indicating whether users are allowed to draw outgoing links from this node. (Inherited from DiagramNode.) |
||
Gets or sets the anchor points to which links are attached when connected to the node. (Inherited from DiagramNode.) |
||
Gets or sets the rectangle that defines the position of the diagram node. (Inherited from DiagramNode.) |
||
Gets or sets the brush used to fill the interior of this item. (Inherited from DiagramItem.) |
||
Allows applying constraints to the location and size of the node. (Inherited from DiagramNode.) |
||
Gets the parent ContainerNode containing this node. (Inherited from DiagramNode.) |
||
Gets or sets the type of custom drawing performed on this shape node. |
||
Gets the effective brush of the item. (Inherited from DiagramItem.) |
||
Gets the currently effective font of the item. (Inherited from DiagramItem.) |
||
Gets the effective pen of the item. (Inherited from DiagramItem.) |
||
Gets the effective shadow brush of the item. (Inherited from DiagramItem.) |
||
Gets the effective text brush of the item. (Inherited from DiagramItem.) |
||
Gets a collection with all effects applied to this node. (Inherited from DiagramNode.) |
||
Gets or sets the kinds of modifications that end-users are permitted to perform on the node. (Inherited from DiagramNode.) |
||
Gets or sets a value indicating whether styled text rendering is enabled. |
||
Gets or sets a value indicating whether users are allowed to expand or collapse the subtree that starts from this node. (Inherited from DiagramNode.) |
||
Gets or sets a value indicating whether the subtree starting from this node is expanded. (Inherited from DiagramNode.) |
||
Gets or sets a value indicating whether the node's shape is flipped horizontally. |
||
Gets or sets a value indicating whether the node's shape is flipped vertically. |
||
Gets or sets the font used to render the node's text. |
||
Gets or sets a value indicating how the node adjustment handles behave and what do they look like. (Inherited from DiagramNode.) |
||
Gets or sets the hyperlink associated with this diagram item. (Inherited from DiagramItem.) |
||
Gets or sets user-defined identifier associated with this item. (Inherited from DiagramItem.) |
||
Gets or sets a value indicating whether the position of this item should not be changed by automatic layout methods. (Inherited from DiagramItem.) |
||
Gets or sets the image that is displayed in this shape node. |
||
Gets or sets the alignment of the image displayed in this shape node. |
||
Gets or sets the padding distance between node's borders and Image. |
||
Gets or sets a URL used to load an image into this node. |
||
Gets a collection of links that point to the node. (Inherited from DiagramNode.) |
||
Returns the list of supplementary labels displayed by this node. (Inherited from DiagramNode.) |
||
Gets or sets the zero-based index of the layer this item is associated with, or -1, if the item is not associated with a layer. (Inherited from DiagramItem.) |
||
Contains layout properties of the node, used by some layout algorithms and by DiagramView3D. (Inherited from DiagramItem.) |
||
Gets or sets a value indicating whether users are allowed to edit the diagram item. (Inherited from DiagramItem.) |
||
Gets a reference to the group to which this node is attached. (Inherited from DiagramNode.) |
||
Returns the node's Container or main item of MasterGroup. (Inherited from DiagramNode.) |
||
Gets or sets a value indicating whether this node is considered an obstacle by the link-routing algorithm. (Inherited from DiagramNode.) |
||
Gets or sets the opacity of this item. (Inherited from DiagramItem.) |
||
Gets a collection of links that start from this node. (Inherited from DiagramNode.) |
||
Gets the diagram that contains this item. (Inherited from DiagramItem.) |
||
Gets or sets the pen used to paint the frame of the item. (Inherited from DiagramItem.) |
||
Gets the plain text of this shape node. |
||
Gets or sets a value indicating whether the node's Text is formatted inside non-rectangular outline. |
||
Gets or sets a value indicating whether to print the item. (Inherited from DiagramItem.) |
||
Gets or sets a value indicating whether the Image should be rotated when the shape node is rotated. |
||
Gets or sets a value indicating whether the Text should be rotated when the shape node is rotated. |
||
Gets or sets the rotation angle of this node. (Inherited from DiagramNode.) |
||
For internal use. (Inherited from DiagramItem.) |
||
Gets or sets a value indicating whether a diagram item is selected. (Inherited from DiagramItem.) |
||
Gets or sets the brush used to paint the item's shadow. (Inherited from DiagramItem.) |
||
Gets or sets the horizontal offset of the shadow of this item. (Inherited from DiagramItem.) |
||
Gets or sets the vertical offset of the shadow of this item. (Inherited from DiagramItem.) |
||
Gets or sets a reference to the node's geometric shape definition. |
||
Gets or sets the angle specifying the orientation with which a shape template is applied to the node bounds. |
||
Gets or sets the style associated with the item. (Inherited from DiagramItem.) |
||
Gets a reference to the group of items that are attached to this one. (Inherited from DiagramItem.) |
||
Gets or sets user-defined data associated with this item. (Inherited from DiagramItem.) |
||
Gets or sets the text displayed inside the shape node. |
||
Gets or sets the brush used to paint texts inside the item. (Inherited from DiagramItem.) |
||
Gets or sets the alignment of the text that is displayed inside shape nodes. |
||
Gets or sets the spacing between the item boundaries and its text. |
||
Gets or sets a short text message displayed when the mouse pointer rests over the diagram element. (Inherited from DiagramItem.) |
||
DiagramItem.TopLevel override. (Inherited from DiagramNode.) |
||
Gets or sets a value indicating whether this shape node is transparent. |
||
Gets or sets a value indicating whether this item is visible. (Inherited from DiagramItem.) |
||
Gets or sets a weight value used in layout and path-finding algorithms. (Inherited from DiagramItem.) |
||
Gets or sets the z-order position of this item. (Inherited from DiagramItem.) |
Name | Description | |
---|---|---|
Determines whether the node supports connections to its constituent elements. (Inherited from DiagramNode.) |
||
Returns the diagram measure unit. (Inherited from DiagramItem.) |
Name | Description | |
---|---|---|
Determines whether the node can be connected with links of the specified type. (Inherited from DiagramNode.) |
||
Overloaded. Adds a new label to this node. (Inherited from DiagramNode.) |
||
Animates the item. (Inherited from DiagramItem.) |
||
Adds the specified manipulator to this node. (Inherited from DiagramNode.) |
||
Overloaded. Attaches this node to another diagram item. (Inherited from DiagramNode.) |
||
Creates a copy of this item. (Inherited from DiagramItem.) |
||
Hides all nodes and links in the subtree starting from this node. (Inherited from DiagramNode.) |
||
Overloaded. |
||
DiagramNode.CreateConnectionPoint override. |
||
Detaches this node from its master item. (Inherited from DiagramNode.) |
||
Removes the specified manipulator from this node. (Inherited from DiagramNode.) |
||
For internal use. (Inherited from DiagramItem.) |
||
DiagramItem.Draw override. Draws the item on the specified IGraphics surface. (Inherited from DiagramNode.) |
||
Draws the anchor points of this node. (Inherited from DiagramNode.) |
||
DiagramNode.DrawHandles override. Renders the adjustment handles of this item. |
||
(Inherited from DiagramNode.) |
||
Draws the node on the specified IGraphics surface. |
||
DiagramItem.DrawShadow override. Draws the shadow of this item on the specified IGraphics surface. (Inherited from DiagramNode.) |
||
Draws the shadow of this node on the specified IGraphics surface. |
||
Shows all nodes and links in the subtree starting from this node. (Inherited from DiagramNode.) |
||
Overloaded. (Inherited from DiagramNode.) |
||
Gets all links connected to this node. (Inherited from DiagramNode.) |
||
Gets the bounding rectangle of this item. (Inherited from DiagramItem.) |
||
Gets the center of this node's bounding rectangle. (Inherited from DiagramNode.) |
||
Returns the index of the anchor point that lies at the shortest distance from the specified point. (Inherited from DiagramNode.) |
||
Creates a Brush object representing the currently effective brush of the item. (Inherited from DiagramItem.) |
||
Returns a Pen object representing the currently effective pen of the item. (Inherited from DiagramItem.) |
||
Returns a Brush object representing the currently effective shadow brush of the item. (Inherited from DiagramItem.) |
||
Returns a Brush object representing the currently effective text brush of the item. (Inherited from DiagramItem.) |
||
Calculates the intersection point between the segment defined by the specified point pair and the node's outline. |
||
Returns a point that lies on the outline of this node, at the shortest distance from the specified point. (Inherited from DiagramNode.) |
||
Node.GetOutlinePoly override. |
||
DiagramNode.GetRepaintRect override. |
||
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.) |
||
Gets the rotation angle of this node. (Inherited from DiagramNode.) |
||
DiagramItem.GetToolTip override. (Inherited from DiagramNode.) |
||
Returns the diagram item that contains the specified point. (Inherited from DiagramItem.) |
||
DiagramNode.HitTestHandle override. Determines whether a selection handle of this item is located at the specified point. |
||
DiagramItem.HitTestManipulators override. (Inherited from DiagramNode.) |
||
Determines whether the node intersects another one, taking into account the outlines of node shapes. (Inherited from DiagramNode.) |
||
Returns the label whose layout rectangle contains the specified point. (Inherited from DiagramNode.) |
||
Moves the node to the specified location. (Inherited from DiagramNode.) |
||
Gets whether the user is prevented from manipulating this item. (Inherited from DiagramItem.) |
||
Gets a flag indicating whether this object is being currently modified interactively by the user. (Inherited from DiagramItem.) |
||
Invoked when a diagram item is being dragged out of this node. (Inherited from DiagramNode.) |
||
Invoked when a diagram item is being dragged over this node. (Inherited from DiagramNode.) |
||
Invoked when a diagram item is dropped over this node. (Inherited from DiagramNode.) |
||
DiagramItem.OnLoad override. |
||
Returns the items that can be reached from this item by following the path specified in the given query expression. (Inherited from DiagramItem.) |
||
Reassigns links to anchor points so that they are evenly distributed. (Inherited from DiagramNode.) |
||
Reassigns unanchored links (Inherited from DiagramNode.) |
||
Removes the specified label from this node. (Inherited from DiagramNode.) |
||
Resizes the node. (Inherited from DiagramNode.) |
||
Makes the shape node as big as the image it displays. |
||
Makes the shape node big enough to display its text without clipping. |
||
For internal use. (Inherited from DiagramItem.) |
||
For internal use. (Inherited from DiagramItem.) |
||
Sets the location and size of this node. (Inherited from DiagramNode.) |
||
Sets the 'expanded' flag, repainting the node. (Inherited from DiagramNode.) |
||
Sets the bounding rectangle of this node without updating connected arrows. (Inherited from DiagramNode.) |
||
This method is used internally by the Ruler control to align nodes. (Inherited from DiagramNode.) |
||
Invoked by running animations to update an item according to current animation progress. (Inherited from DiagramNode.) |
||
Moves the item to the bottom of the z-order. (Inherited from DiagramItem.) |
||
Moves the item one level down in the z-order. (Inherited from DiagramItem.) |
||
Moves the item one level up in the z-order. (Inherited from DiagramItem.) |
||
Moves the item to the top of the z-order. (Inherited from DiagramItem.) |
Name | Description | |
---|---|---|
Adds the specified manipulator to this object. (Inherited from DiagramItem.) |
||
DiagramItem.AllowCreate override. (Inherited from DiagramNode.) |
||
DiagramNode.AllowModify override. Invoked during interactive modification of items to test whether the operation can be completed in the current context. |
||
DiagramNode.CancelModify override. Invoked when the interactive modification of this object has been canceled. |
||
DiagramItem.CompleteCreate override. (Inherited from DiagramNode.) |
||
DiagramNode.CompleteModify override. Invoked when the item modification has been completed. |
||
Checks whether the KeepInsideParent constrained is being violated. (Inherited from DiagramNode.) |
||
DiagramItem.CreateProperties override. |
||
DiagramNode.CreateState override; creates a ShapeNodeState instance. |
||
Disposes any disposable resources managed by this shape. |
||
Overloaded. Draws the associated manipulators on a specified graphics. (Inherited from DiagramItem.) |
||
DiagramItem finalizer. (Inherited from DiagramItem.) |
||
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.) |
||
Overloaded. (Inherited from DiagramNode.) |
||
Overloaded. Gets the destination rectangle of the node's image. |
||
Gets this node's bounding rectangle in local coordinates. (Inherited from DiagramNode.) |
||
Creates and returns a GraphicsPath object for this node as though it is contained in the specified rectangle. |
||
Gets the effective value of the style property with the specified name. (Inherited from DiagramItem.) |
||
Determines whether this node is a predecessor of the specified node in the group hierarchy. (Inherited from DiagramNode.) |
||
Loads the node from a JSON object. |
||
Loads the item content from an XML element. |
||
For internal use. (Inherited from DiagramItem.) |
||
Called when the item is added to a Diagram, either by users, programmatically or via undo / redo. |
||
Called when a group child node has been modified. (Inherited from DiagramItem.) |
||
Invoked when the user clicks this item. (Inherited from DiagramItem.) |
||
Invoked when the user double-clicks this item. (Inherited from DiagramItem.) |
||
Called when the Diagram's MeasureUnit changes. |
||
Invoked when the user moves or resizes this node. (Inherited from DiagramNode.) |
||
DiagramItem.OnRemove override. (Inherited from DiagramNode.) |
||
DiagramNode.OnRotationAngleChanged override. |
||
DiagramItem.OnStyleChanged override. |
||
DiagramItem.OnTextChanged override. |
||
DiagramItem.OnTextFormatChanged override. |
||
DiagramNode.OnUpdateBounds override. |
||
Called when the Diagram's ZoomFactor changes. |
||
Removes the specified manipulator from the object. (Inherited from DiagramItem.) |
||
Overloaded. (Inherited from DiagramItem.) |
||
DiagramNode.RestoreProperties override. |
||
DiagramNode.RestoreState override. Restores the state of this diagram item. |
||
DiagramNode.SaveProperties override. |
||
DiagramNode.SaveState override. Saves the state of this diagram item. |
||
Saves the node as a JSON object. |
||
Saves the item content into an XML element. |
||
Scales the node's elements by specified amount. (Inherited from DiagramNode.) |
||
Marks the diagram as changed. (Inherited from DiagramItem.) |
||
Internally sets the expandable state of this object to the specified value, adding or removing an Expander manipulator object if necessary. (Inherited from DiagramNode.) |
||
DiagramItem.SetExpanded override. (Inherited from DiagramNode.) |
||
Sets the incoming links collection of this node. (Inherited from DiagramNode.) |
||
Sets the outgoing links collection of this node. (Inherited from DiagramNode.) |
||
Invoked to let a node set the shape of a reflexive link connected to it. (Inherited from DiagramNode.) |
||
Determines whether the item should be rendered in the current context. (Inherited from DiagramItem.) |
||
Determines whether the node should render its anchor points. (Inherited from DiagramNode.) |
||
DiagramItem.StartCreate override. (Inherited from DiagramNode.) |
||
DiagramNode.StartModify override. Invoked when the user starts modifying this item interactively. |
||
DiagramItem.UpdateCreate override. (Inherited from DiagramNode.) |
||
Called to update the positions of subordinate nodes attached to this item when the attachment style is set to ControlledByMaster. (Inherited from DiagramItem.) |
||
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.) |
||
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.) |
||
DiagramNode.UpdateModify override. Invoked during interactive modification of this item. |