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.INodeShape Interface Reference

Abstract base for shapes used to draw graph nodes. More...

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

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

Detailed Description

Abstract base for shapes used to draw graph nodes.

Definition at line 36 of file Drawing.cs.

Member Function Documentation

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.

Property Documentation

PointF Satsuma.Drawing.INodeShape.Size
get

The size of the shape, in graphic units.

Definition at line 39 of file Drawing.cs.


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