Property | Type | Description | |
---|---|---|---|
height | int | ||
width | int |
Method | Description | |
---|---|---|
Dimension ( ) : System |
Creates an instance of
|
|
Dimension ( |
Creates an instance of
|
|
Dimension ( int width, int height ) : System |
Constructs a Dimension and initializes it to the specified width and specified height.
|
|
Equals ( Object obj ) : bool |
Checks whether two dimension objects have equal values.
|
|
GetHashCode ( ) : int |
Returns the hash code for this Dimension.
|
|
SetSize ( double width, double height ) : void |
Set the size of this Dimension object to the specified width and height in double precision.
|
|
SetSize ( int width, int height ) : void |
Set the size of this
|
|
ToString ( ) : string |
Returns a string representation of the values of this This method is intended to be used only for debugging purposes, and the content and format of the returned string may vary between implementations. The returned string may be empty but may not be |
public Dimension ( |
||
d |
/// the specified dimension for the
/// width and
/// height values.
/// |
|
return | System |
public Dimension ( int width, int height ) : System | ||
width | int | the specified width dimension |
height | int | the specified height dimension |
return | System |
public SetSize ( double width, double height ) : void | ||
width | double | the new width for the Dimension object |
height | double | the new height for the Dimension object |
return | void |
public SetSize ( int width, int height ) : void | ||
width | int | the new width for this Dimension object. |
height | int | the new height for this Dimension object. |
return | void |