MindFusion.Diagramming for JavaScript Programmer's Guide

ShapeNode Methods

 


 Public Methods

  Name Description

containsPoint

Checks if the ShapeNode contains the specified point.

getImage

Gets the image of the node.

getImageAlign

Gets the alignment for the image of this node.

getImageLocation

Gets the URL of the image displayed in this ShapeNode.

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.

setImage

Sets the image of the node.

setImageAlign

Sets the alignment for the image of this node.

setImageLocation

Sets the URL of the image displayed in this ShapeNode.

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.

 See Also