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