ERY.AgateLib.Geometry.SizeF Struct Reference

SizeF structure. More...

List of all members.

Public Member Functions

 SizeF (PointF pt)
 Constructs a SizeF structure.
 SizeF (System.Drawing.SizeF size)
 Constructs a SizeF structure.
 SizeF (float width, float height)
 Constructs a SizeF structure.
override string ToString ()
 Converts to a string.
override int GetHashCode ()
 Gets a hash code.
override bool Equals (object obj)
 Equality test.
bool Equals (SizeF obj)
 Equality test.

Static Public Member Functions

static bool operator== (SizeF a, SizeF b)
 Equality comparison test.
static bool operator!= (SizeF a, SizeF b)
 Inequality comparison test.

Public Attributes

float width
float height

Static Public Attributes

static readonly SizeF Empty = new SizeF(0, 0)
 Empty SizeF structure.

Properties

float Width [get, set]
 Gets or sets the width.
float Height [get, set]
 Gets or sets the height.
bool IsEmpty [get]
 True if width and height are zero.


Detailed Description

SizeF structure.


Constructor & Destructor Documentation

ERY.AgateLib.Geometry.SizeF.SizeF ( PointF  pt  ) 

Constructs a SizeF structure.

Parameters:
pt 

ERY.AgateLib.Geometry.SizeF.SizeF ( System.Drawing.SizeF  size  ) 

Constructs a SizeF structure.

[Experimental - The API is likely to change in the future.]

Parameters:
size 

ERY.AgateLib.Geometry.SizeF.SizeF ( float  width,
float  height 
)

Constructs a SizeF structure.

Parameters:
height 
width 


Member Function Documentation

static bool ERY.AgateLib.Geometry.SizeF.operator== ( SizeF  a,
SizeF  b 
) [static]

Equality comparison test.

Parameters:
a 
b 
Returns:

static bool ERY.AgateLib.Geometry.SizeF.operator!= ( SizeF  a,
SizeF  b 
) [static]

Inequality comparison test.

Parameters:
a 
b 
Returns:

override string ERY.AgateLib.Geometry.SizeF.ToString (  ) 

Converts to a string.

Returns:

override int ERY.AgateLib.Geometry.SizeF.GetHashCode (  ) 

Gets a hash code.

Returns:

override bool ERY.AgateLib.Geometry.SizeF.Equals ( object  obj  ) 

Equality test.

Parameters:
obj 
Returns:

bool ERY.AgateLib.Geometry.SizeF.Equals ( SizeF  obj  ) 

Equality test.

Parameters:
obj 
Returns:


Member Data Documentation

float ERY.AgateLib.Geometry.SizeF.width

float ERY.AgateLib.Geometry.SizeF.height

readonly SizeF ERY.AgateLib.Geometry.SizeF.Empty = new SizeF(0, 0) [static]

Empty SizeF structure.


Property Documentation

float ERY.AgateLib.Geometry.SizeF.Width [get, set]

Gets or sets the width.

float ERY.AgateLib.Geometry.SizeF.Height [get, set]

Gets or sets the height.

bool ERY.AgateLib.Geometry.SizeF.IsEmpty [get]

True if width and height are zero.


The documentation for this struct was generated from the following file:
AgateLib
Awesome Game and Tool Engine Library
SourceForge.net Logo