Satsuma
a delicious .NET graph library
|
Abstract base for shapes used to draw graph nodes. 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... | |
Properties | |
PointF | Size [get] |
The size of the shape, in graphic units. More... | |
Abstract base for shapes used to draw graph nodes.
Definition at line 36 of file Drawing.cs.
void Satsuma.Drawing.INodeShape.Draw | ( | Graphics | graphics, |
Pen | pen, | ||
Brush | brush | ||
) |
Draws the shape.
The center of the shape is supposed to be at (0, 0).
Implemented in Satsuma.Drawing.NodeShape.
PointF Satsuma.Drawing.INodeShape.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).
Implemented in Satsuma.Drawing.NodeShape.
|
get |
The size of the shape, in graphic units.
Definition at line 39 of file Drawing.cs.