Satsuma
a delicious .NET graph library
|
A standard implementation of INodeShape (immutable). More...
Public Member Functions | |
void | Draw (Graphics graphics, Pen pen, Brush brush) |
Draws the shape. More... | |
PointF | GetBoundary (double angle) |
Returns the furthermost point of the shape boundary at the given angular position. More... | |
NodeShape (NodeShapeKind kind, PointF size) | |
Properties | |
NodeShapeKind | Kind [get, set] |
The kind of the shape. More... | |
PointF | Size [get, set] |
The size of the shape, in graphic units. More... | |
A standard implementation of INodeShape (immutable).
Definition at line 55 of file Drawing.cs.
Satsuma.Drawing.NodeShape.NodeShape | ( | NodeShapeKind | kind, |
PointF | size | ||
) |
Definition at line 65 of file Drawing.cs.
void Satsuma.Drawing.NodeShape.Draw | ( | Graphics | graphics, |
Pen | pen, | ||
Brush | brush | ||
) |
Draws the shape.
The center of the shape is supposed to be at (0, 0).
Implements Satsuma.Drawing.INodeShape.
Definition at line 89 of file Drawing.cs.
PointF Satsuma.Drawing.NodeShape.GetBoundary | ( | double | angle | ) |
Returns the furthermost point of the shape boundary at the given angular position.
The center of the shape is supposed to be at (0, 0).
Implements Satsuma.Drawing.INodeShape.
Definition at line 105 of file Drawing.cs.
|
getset |
The kind of the shape.
Definition at line 58 of file Drawing.cs.
|
getset |
The size of the shape, in graphic units.
Definition at line 60 of file Drawing.cs.