Unplugged Viz
High-performance scientific visualization isn't just for the workstation anymore
Durwella.Unplugged.Viz.RectangleF Class Reference

A one-dimensional range defined by four float points. More...

Public Member Functions

 RectangleF (float x, float y, float width, float height)
 Initializes a new instance of the T:Unplugged.Visualization.XForms.RectangleF class. More...
 

Static Public Member Functions

static RectangleF FromLTRB (float left, float top, float right, float bottom)
 Construct a RectangleF using the left, top, right, and bottom positions. More...
 

Properties

float X [get]
 The x-coordinate of the top-left corner. More...
 
float Y [get]
 The y-coordinate of the top-left corner. More...
 
float Width [get]
 The width of the rectangle. More...
 
float Height [get]
 The height of the rectangle. More...
 

Detailed Description

A one-dimensional range defined by four float points.

Inheritance diagram for Durwella.Unplugged.Viz.RectangleF:
Durwella.Unplugged.Viz.ShapeFBase

Constructor & Destructor Documentation

Durwella.Unplugged.Viz.RectangleF.RectangleF ( float  x,
float  y,
float  width,
float  height 
)

Initializes a new instance of the T:Unplugged.Visualization.XForms.RectangleF class.

Parameters
xThe x-coordinate of the top-left corner.
yThe y-coordinate of the top-left corner.
widthThe width.
heightThe height.

Member Function Documentation

static RectangleF Durwella.Unplugged.Viz.RectangleF.FromLTRB ( float  left,
float  top,
float  right,
float  bottom 
)
static

Construct a RectangleF using the left, top, right, and bottom positions.

Returns
A new RectangleF.
Parameters
leftThe x-coordinate of the left side.
topThe y-coordinate of the top side.
rightThe x-coordinate of the right side.
bottomThe y-coordinate of the bottom side.

Property Documentation

float Durwella.Unplugged.Viz.RectangleF.Height
get

The height of the rectangle.

float Durwella.Unplugged.Viz.RectangleF.Width
get

The width of the rectangle.

float Durwella.Unplugged.Viz.RectangleF.X
get

The x-coordinate of the top-left corner.

float Durwella.Unplugged.Viz.RectangleF.Y
get

The y-coordinate of the top-left corner.


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