ShapeNode instances are diagram nodes that represent geometric shapes.
The following tables list the members exposed by the ShapeNode type.
Name | Description | |
---|---|---|
Initializes a new instance of the ShapeNode class with default values supplied form the specified Diagram. |
Name | Description | |
---|---|---|
Gets or sets whether the node's shape flips when users drag an edge over its opposite edge. |
||
Gets or sets whether users are allowed to draw incoming links to this node. (Inherited from DiagramNode.) |
||
Gets or sets whether users are allowed to draw outgoing links from this node. (Inherited from DiagramNode.) |
||
Gets or sets the anchor points to which links attach when connected to this node. (Inherited from DiagramNode.) |
||
Returns the nodes attached to this node. (Inherited from DiagramNode.) |
||
Gets or sets a rectangle that defines the position of this node. (Inherited from DiagramNode.) |
||
Gets or sets an object specifying how to fill the interior of this item. (Inherited from DiagramItem.) |
||
Gets the center of this node's bounding rectangle. (Inherited from DiagramNode.) |
||
Gets the parent ContainerNode containing this node. (Inherited from DiagramItem.) |
||
Gets or sets the corner radius of nodes whose shape is set to a rounded rectangle. (Inherited from DiagramNode.) |
||
Gets the effective brush that should be used to paint this item. (Inherited from DiagramItem.) |
||
Gets the effective brush that should be used to paint node's caption bar. (Inherited from DiagramItem.) |
||
Gets the effects applied to this node. (Inherited from DiagramNode.) |
||
Gets the effective font that should be used to render this item's text. (Inherited from DiagramItem.) |
||
Gets the name of the effective font that should be used to render this item's text. (Inherited from DiagramItem.) |
||
Gets the size of the effective font that should be used to render this item's text. (Inherited from DiagramItem.) |
||
Gets the style of the effective font that should be used to render this item's text. (Inherited from DiagramItem.) |
||
Gets the effective opacity that should be used to paint this item. (Inherited from DiagramItem.) |
||
Gets the effective color that should be used to render this item's shadow. (Inherited from DiagramItem.) |
||
Gets the effective color that should be used to stroke this item. (Inherited from DiagramItem.) |
||
Gets the effective line dash array that should be applied when stroking this item. (Inherited from DiagramItem.) |
||
Gets the effective line dash offset that should be applied when stroking this item. (Inherited from DiagramItem.) |
||
Gets the effective line dash pattern that should be applied when stroking this item. (Inherited from DiagramItem.) |
||
Gets the effective line thickness that should be applied when stroking this item. (Inherited from DiagramItem.) |
||
Gets the effective text color that should be used to render this item's text. (Inherited from DiagramItem.) |
||
Gets the effective text color that should be used to render this item's text outline. (Inherited from DiagramItem.) |
||
Gets the effective width of the text outline of this item. (Inherited from DiagramItem.) |
||
Gets the effects applied to this node. (Inherited from DiagramNode.) |
||
Gets or sets a value indicating which adjustment handles are enabled for this node. (Inherited from DiagramNode.) |
||
Gets or sets a value indicating whether styled text rendering is enabled. |
||
Gets or sets whether users are allowed to expand or collapse the subtree rooted at this node. (Inherited from DiagramNode.) |
||
Gets or sets whether the subtree rooted at this node is expanded. (Inherited from DiagramNode.) |
||
Gets or sets a value indicating whether the node's shape is fliped horizontally. |
||
Gets or sets a value indicating whether the node's shape is fliped vertically. |
||
Gets or sets the font used to render item's text. (Inherited from DiagramItem.) |
||
Gets an array of visual elements used to render this item on the canvas. (Inherited from DiagramItem.) |
||
Gets or sets a value specifying appearance and behavior of node's adjustment handles. (Inherited from DiagramNode.) |
||
Gets or sets the hyperlink associated with this diagram item. (Inherited from DiagramItem.) |
||
Gets or sets a custom 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 displayed by this node. |
||
Gets or sets the alignment of node's image. |
||
Gets or sets a Base64-encoded image to display inside this node. |
||
Gets or sets URL of the image to display inside this node. |
||
Gets or sets the padding distance between node borders and image. |
||
Gets the incoming links to this node. (Inherited from DiagramNode.) |
||
Gets an object containing properties specific to individual layout algorithms. (Inherited from DiagramItem.) |
||
Gets or sets the vertical alignment of item's text. (Inherited from DiagramItem.) |
||
Gets or sets whether users are allowed to interact with this item. (Inherited from DiagramItem.) |
||
Returns the node to which this node is attached. (Inherited from DiagramNode.) |
||
Gets or sets whether this node is considered an obstacle by link routing algorithms. (Inherited from DiagramNode.) |
||
Gets or sets opacity of this item. (Inherited from DiagramItem.) |
||
Gets the outgoing links from this node. (Inherited from DiagramNode.) |
||
Gets the Diagram to which this item belongs. (Inherited from DiagramItem.) |
||
Gets or sets the color used to stroke item's borders. (Inherited from DiagramItem.) |
||
Gets or sets a value indicating whether image gets rotated along with the node. |
||
Gets or sets a value indicating whether text gets rotated along with the node. |
||
Gets or sets the angle at which this node is rotated. (Inherited from DiagramNode.) |
||
Gets or sets a value indicating whether a diagram item is selected. (Inherited from DiagramItem.) |
||
Gets or sets the color used to draw item's shadow. (Inherited from DiagramItem.) |
||
Gets or sets the horizontal offset of item's shadow. (Inherited from DiagramItem.) |
||
Gets or sets the vertical offset of item's shadow. (Inherited from DiagramItem.) |
||
Gets or sets the geometric shape displayed by this node. |
||
Gets or sets whether this node displays a delete button. (Inherited from DiagramNode.) |
||
Gets or sets the color used to stroke item's frame. (Inherited from DiagramItem.) |
||
Gets or sets an array of values specifying the dash pattern. (Inherited from DiagramItem.) |
||
Gets or sets the the distance between the line start and the beginning of the dash pattern. (Inherited from DiagramItem.) |
||
Gets or sets the line dash pattern applied when stroking item's frame. (Inherited from DiagramItem.) |
||
Gets or sets the line width applied when stroking item's frame. (Inherited from DiagramItem.) |
||
Gets or sets the style associated with this item. (Inherited from DiagramItem.) |
||
Gets or sets custom data tag associated with this item. (Inherited from DiagramItem.) |
||
Gets or sets the text label displayed by this item. (Inherited from DiagramItem.) |
||
Gets or sets the horizontal alignment of item's text. (Inherited from DiagramItem.) |
||
Gets or sets the color used to fill item's text. (Inherited from DiagramItem.) |
||
Gets the Text object instance used to render item's text. (Inherited from DiagramItem.) |
||
Gets or sets the padding distance between item's boundaries and text label. (Inherited from DiagramItem.) |
||
Gets or sets the color used to stroke item's text. (Inherited from DiagramItem.) |
||
Gets or sets the outline width of item's text. (Inherited from DiagramItem.) |
||
Gets or sets tooltip text that should be displayed when the mouse hovers over this item. (Inherited from DiagramItem.) |
||
Gets if this is a top-level item in the diagram. (Inherited from DiagramItem.) |
||
Gets or sets a value indicating whether the node's geometry is visible. |
||
Gets or sets a value indicating whether this item is visible. (Inherited from DiagramItem.) |
||
Gets or sets a weight value used by layout and path-finding algorithms. (Inherited from DiagramItem.) |
||
Gets the z-order position of this item. (Inherited from DiagramItem.) |
Name | Description | |
---|---|---|
Determines whether the node can be connected with links of the specified type. (Inherited from DiagramNode.) |
||
Derived classes must implement this method by adding their graphics primitives to the canvas.elements collection. (Inherited from DiagramItem.) |
||
Adds a new label to this item. (Inherited from DiagramItem.) |
||
DiagramItem.allowDrag override. (Inherited from DiagramNode.) |
||
Animates the item. (Inherited from DiagramItem.) |
||
Attaches the specified subordinate node to this node, so that when this node is moved, the subordinate follows it. (Inherited from DiagramNode.) |
||
Attaches this node to the specified master node so that when the master is moved, the attached node follows it. (Inherited from DiagramNode.) |
||
DiagramNode.clone override. |
||
Checks if the ShapeNode contains the specified point. |
||
Creates a connection point between this node and the specified link at the specified point. (Inherited from DiagramNode.) |
||
Detaches this node from its current master node. (Inherited from DiagramNode.) |
||
DiagramItem.endDrag override. (Inherited from DiagramNode.) |
||
Deserializes this item from a JSON object. (Inherited from DiagramItem.) |
||
DiagramNode.fromJson override. |
||
Returns all links connected to this node. (Inherited from DiagramNode.) |
||
Calculates the intersection point between the segment defined by the specified point pair and the node's outline. (Inherited from DiagramNode.) |
||
Gets an array of points that define the outline of this node shape. |
||
Gets the repaint region for this item, taking into account factors such as pen width, selection handles and shadow. (Inherited from DiagramItem.) |
||
Gets the bounding rectangle of this item when it is rotated. (Inherited from DiagramNode.) |
||
Returns the diagram item that contains the specified point. (Inherited from DiagramItem.) |
||
Invalidates the region of the canvas, that matches the item's repaint bounds. (Inherited from DiagramItem.) |
||
DiagramNode.LoadFromXml override. Loads the node's content from an XML element. |
||
Called when an item is removed from a Diagram, either by the user, programmatically or via undo / redo. (Inherited from DiagramItem.) |
||
Raises an event which notifies that a node has been clicked. (Inherited from DiagramNode.) |
||
Raises an event which notifies that a node has been double-clicked. (Inherited from DiagramNode.) |
||
DiagramItem.removeCanvasElements override. (Inherited from DiagramNode.) |
||
Removes the specified label from this item. (Inherited from DiagramItem.) |
||
Makes the shape node big enough to display its text without clipping. |
||
DiagramItem.restoreLocationState override. (Inherited from DiagramNode.) |
||
DiagramItem.restoreLocationState override. |
||
DiagramNode.restoreState override. |
||
Loads the properties of this diagram item. (Inherited from DiagramItem.) |
||
DiagramItem.saveLocationState override. |
||
DiagramNode.saveState override. |
||
Saves the node's content into an XML element. |
||
Sets the rectangle that defines the position of the diagram node. (Inherited from DiagramNode.) |
||
Invoked when the user starts dragging this item. (Inherited from DiagramItem.) |
||
DiagramNode.toJson override. |
||
Derived classes must implement this method to update the item's visual elements. (Inherited from DiagramItem.) |
||
DiagramItem.updateDrag override. |