C# Class Smrf.NodeXL.Layouts.FreeSpaceBox

Manages the various free space boxes that are available
All methods are static.
Datei anzeigen Open project: 2014-sed-team3/term-project Class Usage Examples

Public Properties

Property Type Description
boxRectangle System.Drawing.RectangleF
orientation Orientation

Public Methods

Method Description
FreeSpaceBox ( float left, float top, float right, float bottom, Orientation orientation ) : System

This constructor sets the box boundaries and orientation

GetArea ( ) : double

Gets the area of a FreeSpaceBox

Method Details

FreeSpaceBox() public method

This constructor sets the box boundaries and orientation
public FreeSpaceBox ( float left, float top, float right, float bottom, Orientation orientation ) : System
left float
top float
right float
bottom float
orientation Orientation
return System

GetArea() public method

Gets the area of a FreeSpaceBox
public GetArea ( ) : double
return double

Property Details

boxRectangle public_oe property

The underlying RectangleF of this FreeSpaceBox
public RectangleF,System.Drawing boxRectangle
return System.Drawing.RectangleF

orientation public_oe property

Defines the orientation of this box
public Orientation orientation
return Orientation