Class ShapeNode
Represents the several built-in shapes are provided. The user can select from any of the built-in shapes.
Inheritance
System.Object
ShapeNode
Inherited Members
Namespace: Syncfusion.UI.Xaml.Diagram
Assembly: Syncfusion.SfDiagram.WPF.dll
Syntax
public class ShapeNode : ShapeBase, INode, IGroupable, IDiagramElement, IID, INotifyPropertyChanged
Constructors
ShapeNode()
Initializes a new instance of the ShapeNode class.
Declaration
public ShapeNode()
Properties
Shapes
Gets or sets a build-in shapes.
Declaration
public Shapes Shapes { get; set; }
Property Value
Type |
---|
Shapes |
Methods
GetStar(Double, Double)
Generate the star shape based on the spikes and radius parameter
Declaration
public void GetStar(double spikes, double radius)
Parameters
Type | Name | Description |
---|---|---|
System.Double | spikes | |
System.Double | radius |
MeasureOverride()
Specifies to update the shape.
Declaration
public override void MeasureOverride()
Overrides
UpdateShape()
Occurs when a Shapes property value changes.
Declaration
public override void UpdateShape()
Overrides
Implements
System.ComponentModel.INotifyPropertyChanged