Search
FreeFormNode Members
Constructors Fields Properties Methods
 


A FreeFormNode collects all points from users' mouse or touch input and displays them as node's outline.

The following tables list the members exposed by the FreeFormNode type.

 Public Constructors

  Name Description

FreeFormNode

Overloaded.  

 Protected Fields

  Name Description

disposed

For internal use. (Inherited from DiagramItem.)

 Public Properties

  Name Description

AllowIncomingLinks

Gets or sets a value indicating whether users are allowed to draw incoming links to this node. (Inherited from DiagramNode.)

AllowOutgoingLinks

Gets or sets a value indicating whether users are allowed to draw outgoing links from this node. (Inherited from DiagramNode.)

AnchorPattern

Gets or sets the anchor points to which links are attached when connected to the node. (Inherited from DiagramNode.)

Bounds

Gets or sets the rectangle that defines the position of the diagram node. (Inherited from DiagramNode.)

Brush

Gets or sets the brush used to fill the interior of this item. (Inherited from DiagramItem.)

Closed

Gets or sets if the node's shape is closed.

Constraints

Allows applying constraints to the location and size of the node. (Inherited from DiagramNode.)

Container

Gets the parent ContainerNode containing this node. (Inherited from DiagramNode.)

ConvertToShape

Gets or sets whether the FreeFormNode currently being drawn should be replaced by a matching ShapeNode.

EffectiveBrush

Gets the effective brush of the item. (Inherited from DiagramItem.)

EffectiveFont

Gets the currently effective font of the item. (Inherited from DiagramItem.)

EffectivePen

Gets the effective pen of the item. (Inherited from DiagramItem.)

EffectiveShadowBrush

Gets the effective shadow brush of the item. (Inherited from DiagramItem.)

EffectiveTextBrush

Gets the effective text brush of the item. (Inherited from DiagramItem.)

Effects

Gets a collection with all effects applied to this node. (Inherited from DiagramNode.)

EnabledHandles

Gets or sets the kinds of modifications that end-users are permitted to perform on the node. (Inherited from DiagramNode.)

Expandable

Gets or sets a value indicating whether users are allowed to expand or collapse the subtree that starts from this node. (Inherited from DiagramNode.)

Expanded

Gets or sets a value indicating whether the subtree starting from this node is expanded. (Inherited from DiagramNode.)

Font

Gets or sets the font used to render the item's text. (Inherited from DiagramItem.)

HandlesStyle

Gets or sets a value indicating how the node adjustment handles behave and what do they look like. (Inherited from DiagramNode.)

HyperLink

Gets or sets the hyperlink associated with this diagram item. (Inherited from DiagramItem.)

Id

Gets or sets user-defined identifier associated with this item. (Inherited from DiagramItem.)

IgnoreLayout

Gets or sets a value indicating whether the position of this item should not be changed by automatic layout methods. (Inherited from DiagramItem.)

IncomingLinks

Gets a collection of links that point to the node. (Inherited from DiagramNode.)

Labels

Returns the list of supplementary labels displayed by this node. (Inherited from DiagramNode.)

LayerIndex

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.)

LayoutTraits

Contains layout properties of the node, used by some layout algorithms and by DiagramView3D. (Inherited from DiagramItem.)

Locked

Gets or sets a value indicating whether users are allowed to edit the diagram item. (Inherited from DiagramItem.)

MasterGroup

Gets a reference to the group to which this node is attached. (Inherited from DiagramNode.)

MasterItem

Returns the node's Container or main item of MasterGroup. (Inherited from DiagramNode.)

Obstacle

Gets or sets a value indicating whether this node is considered an obstacle by the link-routing algorithm. (Inherited from DiagramNode.)

Opacity

Gets or sets the opacity of this item. (Inherited from DiagramItem.)

OutgoingLinks

Gets a collection of links that start from this node. (Inherited from DiagramNode.)

Parent

Gets the diagram that contains this item. (Inherited from DiagramItem.)

Pen

Gets or sets the pen used to paint the frame of the item. (Inherited from DiagramItem.)

Points

Gets or sets the node's outline points.

Printable

Gets or sets a value indicating whether to print the item. (Inherited from DiagramItem.)

RotationAngle

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

RuntimeIndex

For internal use. (Inherited from DiagramItem.)

Selected

Gets or sets a value indicating whether a diagram item is selected. (Inherited from DiagramItem.)

ShadowBrush

Gets or sets the brush used to paint the item's shadow. (Inherited from DiagramItem.)

ShadowOffsetX

Gets or sets the horizontal offset of the shadow of this item. (Inherited from DiagramItem.)

ShadowOffsetY

Gets or sets the vertical offset of the shadow of this item. (Inherited from DiagramItem.)

Style

Gets or sets the style associated with the item. (Inherited from DiagramItem.)

SubordinateGroup

Gets a reference to the group of items that are attached to this one. (Inherited from DiagramItem.)

Tag

Gets or sets user-defined data associated with this item. (Inherited from DiagramItem.)

Text

Gets or sets the text displayed inside this node.

TextBrush

Gets or sets the brush used to paint texts inside the item. (Inherited from DiagramItem.)

TextFormat

Gets or sets the alignment of text displayed inside this item. (Inherited from DiagramItem.)

TextPadding

Gets or sets the spacing between the item boundaries and its text. (Inherited from DiagramItem.)

ToolTip

Gets or sets a short text message displayed when the mouse pointer rests over the diagram element. (Inherited from DiagramItem.)

TopLevel

DiagramItem.TopLevel override. (Inherited from DiagramNode.)

Visible

Gets or sets a value indicating whether this item is visible. (Inherited from DiagramItem.)

Weight

Gets or sets a weight value used in layout and path-finding algorithms. (Inherited from DiagramItem.)

ZIndex

Gets or sets the z-order position of this item. (Inherited from DiagramItem.)

 Protected Properties

  Name Description

HasItems

Determines whether the node supports connections to its constituent elements. (Inherited from DiagramNode.)

MeasureUnit

Returns the diagram measure unit. (Inherited from DiagramItem.)

 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.)

Animate

Animates the item. (Inherited from DiagramItem.)

AttachManipulator

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

AttachTo

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

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.  

CreateConnectionPoint

Creates a connection point between this node and the specified link at the specified point. (Inherited from DiagramNode.)

Detach

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

DetachManipulator

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

Dispose

Overloaded.   (Inherited from DiagramItem.)

DoModify

For internal use. (Inherited from DiagramItem.)

Draw

Draws the node using the specified IGraphics surface.

DrawAnchors

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

DrawHandles

DiagramNode.DrawHandles override.

DrawInRect

  (Inherited from DiagramNode.)

DrawLocal

Override in a derived class to provide implementation specific drawing for the node. (Inherited from DiagramNode.)

DrawShadow

Draws the shadow of this node on the specified IGraphics surface.

DrawShadowLocal

Override in a derived class to provide implementation specific drawing for the shadow of the node. (Inherited from DiagramNode.)

Expand

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

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 Brush object representing the currently effective brush of the item. (Inherited from DiagramItem.)

GetEffectivePen

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

GetEffectiveShadowBrush

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

GetEffectiveTextBrush

Returns a 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.

GetNearestBorderPoint

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

GetOutlinePoly

DiagramNode.GetOutlinePoly override.

GetRepaintRect

DiagramItem.GetRepaintRect override. (Inherited from DiagramNode.)

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.

HitTestManipulators

DiagramItem.HitTestManipulators override. (Inherited from DiagramNode.)

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.)

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

Called after successful deserialization. (Inherited from DiagramItem.)

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.)

RestoreItemProperties

For internal use. (Inherited from DiagramItem.)

SaveItemProperties

For internal use. (Inherited from DiagramItem.)

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.)

StandardShapeReplacement

Returns a replacement ShapeNode that most closely matches this node's position and outline shape.

UpdateAnimation

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

UpdateFromPoints

Updates the node's internal state after its points have changed.

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

DiagramNode.AllowCreate override.

AllowModify

DiagramItem.AllowModify override. (Inherited from DiagramNode.)

CancelModify

DiagramNode.CancelModify override.

CompleteCreate

DiagramNode.CompleteCreate override.

CompleteModify

DiagramItem.CompleteModify override. (Inherited from DiagramNode.)

ConstraintsInfringed

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

CreateProperties

DiagramItem.CreateProperties override.

CreateState

DiagramNode.CreateState override.

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.)

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 DiagramNode.)

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.)

LoadFromJson

Loads the node from a JSON object.

LoadFromXml

Loads the item content from an XML element.

LoadObsolete

For internal use. (Inherited from DiagramItem.)

OnAdd

DiagramItem.OnAdd override. (Inherited from DiagramNode.)

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

DiagramItem.OnMeasureUnitChanged override. (Inherited from DiagramNode.)

OnModify

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

OnRemove

DiagramItem.OnRemove override. (Inherited from DiagramNode.)

OnRotationAngleChanged

Invoked when the rotation angle of this node has been changed, either programmatically or interactively. (Inherited from DiagramNode.)

OnStyleChanged

Invoked when the associated style or theme have changed. (Inherited from DiagramItem.)

OnTextChanged

Called when the value of the Text property changes. (Inherited from DiagramItem.)

OnTextFormatChanged

Called when the value of the TextFormat property changes. (Inherited from DiagramItem.)

OnUpdateBounds

DiagramNode.OnUpdateBounds override.

OnZoomChanged

DiagramItem.OnZoomChanged override. (Inherited from DiagramNode.)

RemoveManipulator

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

Repaint

Overloaded.   (Inherited from DiagramItem.)

RestoreProperties

DiagramNode.RestoreProperties override.

RestoreState

DiagramNode.RestoreState override.

SaveProperties

DiagramNode.SaveProperties override.

SaveState

DiagramNode.SaveState override.

SaveToJson

Saves the node as a JSON object.

SaveToXml

Saves the item content into an XML element.

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.)

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

DiagramNode.StartCreate override.

StartModify

DiagramNode.StartModify override.

UpdateCreate

DiagramNode.UpdateCreate override.

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

DiagramItem.UpdateModify override.

 See Also