ASP.NET Pack Programmer's Guide
ShapeNode Members
Constructors Methods
 


ShapeNode instances are diagram nodes that represent geometric shapes.

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

 Public Constructors

  Name Description

ShapeNode

Initializes a new instance of the ShapeNode class with default values supplied form the specified Diagram.

 Public Methods

  Name Description

containsPoint

Checks if the ShapeNode contains the specified point.

getAllowFlip

Gets a value indicating whether the node's shape flips when an edge is dragged over its opposite edge.

getEnableStyledText

Gets a value indicating whether styled text rendering is enabled.

getFlipX

Gets a value indicating whether the node's shape is fliped horizontally.

getFlipY

Gets a value indicating whether the node's shape is fliped vertically.

getImage

Gets the image of the node.

getImageAlign

Gets the alignment for the image of this node.

getImageContent

Gets the Base64-encoded data of the image displayed in this ShapeNode.

getImageLocation

Gets the URL of the image displayed in this ShapeNode.

getImagePadding

Gets the padding distance between node borders and image.

getLineAlignment

Gets how the text should be vertically aligned in the ShapeNode's text box.

getOutline

Gets an array of points that define the outline of this node shape.

getRotateImage

Gets a value indicating whether the image is rotated when the node is rotated.

getRotateText

Gets a value indicating whether text is rotated when the node is rotated.

getShape

Gets a reference to the node's geometric shape definition.

getTextAlignment

Gets how the text should be aligned in the ShapeNode's text box.

getTextColor

Gets a string specifying the color of the text of this node.

getTransparent

Gets or sets a value indicating whether this ShapeNode is transparent.

init

Returns a Builder object used to configure this ShapeNode instance.

loadFromXml

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

resizeToFitText

Makes the shape node big enough to display its text without clipping.

restoreLocationState

DiagramItem.restoreLocationState override.

saveLocationState

DiagramItem.saveLocationState override.

saveToXml

Saves the node's content into an XML element.

setAllowFlip

Sets a value indicating whether the node's shape flips when an edge is dragged over its opposite edge.

setEnableStyledText

Sets a value indicating whether styled text rendering is enabled.

setFlipX

Sets a value indicating whether the node's shape is flipped horizontally.

setFlipY

Sets a value indicating whether the node's shape is flipped vertically.

setImage

Sets the image of the node.

setImageAlign

Sets the alignment for the image of this node.

setImageContent

Sets the Base64-encoded data of the image displayed in this ShapeNode.

setImageLocation

Sets the URL of the image displayed in this ShapeNode.

setImagePadding

Sets the padding distance between node borders and image.

setLineAlignment

Sets how the text should be vertically aligned in the ShapeNode's text box.

setRotateImage

Sets a value indicating whether the image is rotated when the node is rotated.

setRotateText

Sets a value indicating whether text is rotated when the node is rotated.

setShape

Sets a reference to the node's geometric shape definition.

setTextAlignment

Sets how the text should be aligned in the ShapeNode's text box.

setTextColor

Sets a string specifying the color of the text of this node.

setTransparent

Sets or sets a value indicating whether this ShapeNode is transparent.

updateDrag

DiagramItem.updateDrag override.

With

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

 See Also

ShapeNode Class
MindFusion.Diagramming Namespace