Class RectangleNode
- Namespace
- Fantas
- Assembly
- Fantas.dll
Rectangle/Round Rectangle shape node
public class RectangleNode : ShapeNode
- Inheritance
-
RectangleNode
- Inherited Members
- Extension Methods
Constructors
RectangleNode(RectangleNode)
Create copy of other rectangle node
public RectangleNode(RectangleNode other)
Parameters
other
RectangleNode
RectangleNode(SizeF)
Create a rectangle node
public RectangleNode(SizeF size)
Parameters
size
SizeF
RectangleNode(SizeF, float)
Create round rectangle with corner radius
public RectangleNode(SizeF size, float cornerRadius)
Parameters
Properties
Height
Rectangle node height
public float Height { get; set; }
Property Value
Size
Rectangle node size
public SizeF Size { get; set; }
Property Value
Width
Rectangle node width
public float Width { get; set; }
Property Value
Methods
Copy()
Copy this rectangle node
protected override Node Copy()