Public Member Functions | |
| Size (Point pt) | |
| Constructs a Size. | |
| Size (int width, int height) | |
| Constructs a Size. | |
| Size (System.Drawing.Size size) | |
| Constructs a Size. | |
| override string | ToString () |
| Converts to a string. | |
| override int | GetHashCode () |
| Gets a hash code. | |
| override bool | Equals (object obj) |
| Equality test. | |
| bool | Equals (Size obj) |
| Equality test. | |
Static Public Member Functions | |
| static bool | operator== (Size a, Size b) |
| Equality comparison test. | |
| static bool | operator!= (Size a, Size b) |
| Inequality comparison test. | |
| static Size | Ceiling (SizeF a) |
| Rounds the SizeF structure up. | |
| static | operator System.Drawing.Size (Size size) |
| Explicit conversion for System.Drawing interop. | |
| static | operator SizeF (Size size) |
| Explicit conversion to SizeF structure. | |
| static Size | FromString (string text) |
Public Attributes | |
| int | width |
| int | height |
Static Public Attributes | |
| static readonly Size | Empty = new Size(0, 0) |
| Empty Size. | |
Properties | |
| int | Width [get, set] |
| Gets or sets the width. | |
| int | Height [get, set] |
| Gets or sets the height. | |
| bool | IsEmpty [get] |
| Returns true if width and height are zero. | |
| AgateLib.Geometry.Size.Size | ( | int | width, | |
| int | height | |||
| ) |
| AgateLib.Geometry.Size.Size | ( | System.Drawing.Size | size | ) |
| bool AgateLib.Geometry.Size.Equals | ( | Size | obj | ) |
Equality test.
| obj |
| override bool AgateLib.Geometry.Size.Equals | ( | object | obj | ) |
Equality test.
| obj |
| override int AgateLib.Geometry.Size.GetHashCode | ( | ) |
Gets a hash code.
| static AgateLib.Geometry.Size.operator System.Drawing.Size | ( | Size | size | ) | [explicit, static] |
Explicit conversion for System.Drawing interop.
| size |
Inequality comparison test.
| a | ||
| b |
Equality comparison test.
| a | ||
| b |
| override string AgateLib.Geometry.Size.ToString | ( | ) |
Converts to a string.
readonly Size AgateLib.Geometry.Size.Empty = new Size(0, 0) [static] |
Empty Size.
int AgateLib.Geometry.Size.Height [get, set] |
Gets or sets the height.
bool AgateLib.Geometry.Size.IsEmpty [get] |
Returns true if width and height are zero.
int AgateLib.Geometry.Size.Width [get, set] |
Gets or sets the width.
|
AgateLib Awesome Game and Tool Engine Library |
|