Satsuma
a delicious .NET graph library
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Pages
Public Member Functions | Properties | List of all members
Satsuma.Drawing.NodeShape Class Reference

A standard implementation of INodeShape (immutable). More...

Inheritance diagram for Satsuma.Drawing.NodeShape:
Satsuma.Drawing.INodeShape

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...
 

Detailed Description

A standard implementation of INodeShape (immutable).

Definition at line 55 of file Drawing.cs.

Constructor & Destructor Documentation

Satsuma.Drawing.NodeShape.NodeShape ( NodeShapeKind  kind,
PointF  size 
)

Definition at line 65 of file Drawing.cs.

Member Function Documentation

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.

Property Documentation

NodeShapeKind Satsuma.Drawing.NodeShape.Kind
getset

The kind of the shape.

Definition at line 58 of file Drawing.cs.

PointF Satsuma.Drawing.NodeShape.Size
getset

The size of the shape, in graphic units.

Definition at line 60 of file Drawing.cs.


The documentation for this class was generated from the following file: