![]() |
ActionComponents
04.05.00
Customizable UI and time-saving tools for Android development with Xamarin and Visual Studio.
|
Represents a simulated iOS CGSize
used to ease the porting of UI code from iOS to Android. A CGSize
can be implicitly converted to and from an Android Size
or SizeF
.
More...
Public Member Functions | |
CGSize () | |
Initializes a new instance of the T:CoreGraphics.CGSize class. More... | |
CGSize (CGSize size) | |
Initializes a new instance of the T:CoreGraphics.CGSize class. More... | |
CGSize (CGPoint point) | |
Initializes a new instance of the T:CoreGraphics.CGSize class. More... | |
CGSize (int width, int height) | |
Initializes a new instance of the T:CoreGraphics.CGSize class. More... | |
CGSize (double width, double height) | |
Initializes a new instance of the T:CoreGraphics.CGSize class. More... | |
CGSize (nfloat width, nfloat height) | |
Initializes a new instance of the T:CoreGraphics.CGSize class. More... | |
CGSize (Size size) | |
Initializes a new instance of the T:CoreGraphics.CGSize class. More... | |
CGSize (SizeF size) | |
Initializes a new instance of the T:CoreGraphics.CGSize class. More... | |
override string | ToString () |
Returns a T:System.String that represents the current T:CoreGraphics.CGSize. More... | |
Static Public Member Functions | |
static implicit | operator Size (CGSize size) |
Converts a CGSize to a Size . More... | |
static implicit | operator CGSize (Size size) |
Converts the Size to a CGSize . More... | |
static implicit | operator SizeF (CGSize size) |
Converts a CGSize to a SizeF . More... | |
static implicit | operator CGSize (SizeF size) |
Converts the SizeF to a CGSize . More... | |
static CGSize | operator+ (CGSize a, CGSize b) |
Adds a CoreGraphics.CGSize to a CoreGraphics.CGSize, yielding a new T:CoreGraphics.CGSize. More... | |
static CGSize | operator- (CGSize a, CGSize b) |
Subtracts a CoreGraphics.CGSize from a CoreGraphics.CGSize, yielding a new T:CoreGraphics.CGSize. More... | |
static CGSize | operator* (CGSize a, CGSize b) |
Computes the product of a and b , yielding a new T:CoreGraphics.CGSize. More... | |
static CGSize | operator/ (CGSize a, CGSize b) |
Computes the division of a and b , yielding a new T:CoreGraphics.CGSize. More... | |
static bool | operator== (CGSize a, CGSize b) |
Determines whether a specified instance of CoreGraphics.CGSize is equal to another specified CoreGraphics.CGSize. More... | |
static bool | operator!= (CGSize a, CGSize b) |
Determines whether a specified instance of CoreGraphics.CGSize is not equal to another specified CoreGraphics.CGSize. More... | |
static bool | operator< (CGSize a, CGSize b) |
Determines whether one specified CoreGraphics.CGSize is lower than another specfied CoreGraphics.CGSize. More... | |
static bool | operator> (CGSize a, CGSize b) |
Determines whether one specified CoreGraphics.CGSize is greater than another specfied CoreGraphics.CGSize. More... | |
static bool | operator<= (CGSize a, CGSize b) |
Determines whether one specified CoreGraphics.CGSize is lower than or equal to another specfied CoreGraphics.CGSize. More... | |
static bool | operator>= (CGSize a, CGSize b) |
Determines whether one specified CoreGraphics.CGSize is greater than or equal to another specfied CoreGraphics.CGSize. More... | |
Properties | |
nfloat | Height [get, set] |
Gets or sets the height. More... | |
nfloat | Width = 0f [get, set] |
Gets or sets the width. More... | |
Represents a simulated iOS CGSize
used to ease the porting of UI code from iOS to Android. A CGSize
can be implicitly converted to and from an Android Size
or SizeF
.
CoreGraphics.CGSize.CGSize | ( | ) |
Initializes a new instance of the T:CoreGraphics.CGSize class.
CoreGraphics.CGSize.CGSize | ( | CGSize | size | ) |
Initializes a new instance of the T:CoreGraphics.CGSize class.
size | Size. |
CoreGraphics.CGSize.CGSize | ( | CGPoint | point | ) |
Initializes a new instance of the T:CoreGraphics.CGSize class.
point | Point. |
CoreGraphics.CGSize.CGSize | ( | int | width, |
int | height | ||
) |
Initializes a new instance of the T:CoreGraphics.CGSize class.
height | Height. |
width | Width. |
CoreGraphics.CGSize.CGSize | ( | double | width, |
double | height | ||
) |
Initializes a new instance of the T:CoreGraphics.CGSize class.
height | Height. |
width | Width. |
CoreGraphics.CGSize.CGSize | ( | nfloat | width, |
nfloat | height | ||
) |
Initializes a new instance of the T:CoreGraphics.CGSize class.
height | Height. |
width | Width. |
CoreGraphics.CGSize.CGSize | ( | Size | size | ) |
Initializes a new instance of the T:CoreGraphics.CGSize class.
size | Size. |
CoreGraphics.CGSize.CGSize | ( | SizeF | size | ) |
Initializes a new instance of the T:CoreGraphics.CGSize class.
size | Size. |
|
static |
|
static |
|
static |
|
static |
Determines whether a specified instance of CoreGraphics.CGSize is not equal to another specified CoreGraphics.CGSize.
a | The first CoreGraphics.CGSize to compare. |
b | The second CoreGraphics.CGSize to compare. |
true
if a
and b
are not equal; otherwise, false
.Computes the product of a
and b
, yielding a new T:CoreGraphics.CGSize.
a | The CoreGraphics.CGSize to multiply. |
b | The CoreGraphics.CGSize to multiply. |
a
* b
.Adds a CoreGraphics.CGSize to a CoreGraphics.CGSize, yielding a new T:CoreGraphics.CGSize.
a | The first CoreGraphics.CGSize to add. |
b | The second CoreGraphics.CGSize to add. |
a
and b
.Subtracts a CoreGraphics.CGSize from a CoreGraphics.CGSize, yielding a new T:CoreGraphics.CGSize.
a | The CoreGraphics.CGSize to subtract from (the minuend). |
b | The CoreGraphics.CGSize to subtract (the subtrahend). |
a
minus b
.Computes the division of a
and b
, yielding a new T:CoreGraphics.CGSize.
a | The CoreGraphics.CGSize to divide (the divident). |
b | The CoreGraphics.CGSize to divide (the divisor). |
a
/ b
.Determines whether one specified CoreGraphics.CGSize is lower than another specfied CoreGraphics.CGSize.
a | The first CoreGraphics.CGSize to compare. |
b | The second CoreGraphics.CGSize to compare. |
true
if a
is lower than b
; otherwise, false
.Determines whether one specified CoreGraphics.CGSize is lower than or equal to another specfied CoreGraphics.CGSize.
a | The first CoreGraphics.CGSize to compare. |
b | The second CoreGraphics.CGSize to compare. |
true
if a
is lower than or equal to b
; otherwise, false
.Determines whether a specified instance of CoreGraphics.CGSize is equal to another specified CoreGraphics.CGSize.
a | The first CoreGraphics.CGSize to compare. |
b | The second CoreGraphics.CGSize to compare. |
true
if a
and b
are equal; otherwise, false
.Determines whether one specified CoreGraphics.CGSize is greater than another specfied CoreGraphics.CGSize.
a | The first CoreGraphics.CGSize to compare. |
b | The second CoreGraphics.CGSize to compare. |
true
if a
is greater than b
; otherwise, false
.Determines whether one specified CoreGraphics.CGSize is greater than or equal to another specfied CoreGraphics.CGSize.
a | The first CoreGraphics.CGSize to compare. |
b | The second CoreGraphics.CGSize to compare. |
true
if a
is greater than or equal to b
; otherwise, false
.override string CoreGraphics.CGSize.ToString | ( | ) |
Returns a T:System.String that represents the current T:CoreGraphics.CGSize.
|
getset |
Gets or sets the height.
The height.
|
getset |
Gets or sets the width.
The width.