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 | operator Size (SizeF size) |
| Conversion to Size casts height and width to integers. | |
| 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. | |
| AgateLib.Geometry.SizeF.SizeF | ( | System.Drawing.SizeF | size | ) |
Constructs a SizeF structure.
[Experimental - The API is likely to change in the future.]
| size |
| AgateLib.Geometry.SizeF.SizeF | ( | float | width, | |
| float | height | |||
| ) |
| bool AgateLib.Geometry.SizeF.Equals | ( | SizeF | obj | ) |
Equality test.
| obj |
| override bool AgateLib.Geometry.SizeF.Equals | ( | object | obj | ) |
Equality test.
| obj |
| override int AgateLib.Geometry.SizeF.GetHashCode | ( | ) |
Gets a hash code.
Inequality comparison test.
| a | ||
| b |
Equality comparison test.
| a | ||
| b |
| override string AgateLib.Geometry.SizeF.ToString | ( | ) |
Converts to a string.
readonly SizeF AgateLib.Geometry.SizeF.Empty = new SizeF(0, 0) [static] |
Empty SizeF structure.
float AgateLib.Geometry.SizeF.Height [get, set] |
Gets or sets the height.
bool AgateLib.Geometry.SizeF.IsEmpty [get] |
True if width and height are zero.
float AgateLib.Geometry.SizeF.Width [get, set] |
Gets or sets the width.
|
AgateLib Awesome Game and Tool Engine Library |
|