C# Class SWFProcessing.ModellingUtils.Geom.Rect

A rectangle.
Datei anzeigen Open project: WeeWorld/Swiffotron Class Usage Examples

Public Methods

Method Description
Rect ( float xmin, float xmax, float ymin, float ymax )

Initializes a new instance of a rectangle

ToString ( ) : string

Renders the rectangle as a string. Used only in test/debug console output.

Method Details

Rect() public method

Initializes a new instance of a rectangle
public Rect ( float xmin, float xmax, float ymin, float ymax )
xmin float Left-hand edge, in pixels
xmax float Right-hand edge, in pixels
ymin float Top edge, in pixels
ymax float Bottom edge, in pixels

ToString() public method

Renders the rectangle as a string. Used only in test/debug console output.
public ToString ( ) : string
return string