Point Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| Point() |
Creates a point whose two integer coordinates are zero. |
| Point(Point) |
Creates an integer point with coordinates copied from another point. |
| Point(Int32, Int32) |
Creates an integer point at the specified coordinates. |
| Point(IntPtr, JniHandleOwnership) |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
Point()
Creates a point whose two integer coordinates are zero.
[Android.Runtime.Register(".ctor", "()V", "")]
public Point();
- Attributes
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
Point(Point)
Creates an integer point with coordinates copied from another point.
[Android.Runtime.Register(".ctor", "(Landroid/graphics/Point;)V", "")]
public Point(Android.Graphics.Point src);
[<Android.Runtime.Register(".ctor", "(Landroid/graphics/Point;)V", "")>]
new Android.Graphics.Point : Android.Graphics.Point -> Android.Graphics.Point
Parameters
- src
- Point
The point whose coordinates are copied.
- Attributes
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
Point(Int32, Int32)
Creates an integer point at the specified coordinates.
[Android.Runtime.Register(".ctor", "(II)V", "")]
public Point(int x, int y);
[<Android.Runtime.Register(".ctor", "(II)V", "")>]
new Android.Graphics.Point : int * int -> Android.Graphics.Point
Parameters
- x
- Int32
The initial horizontal coordinate.
- y
- Int32
The initial vertical coordinate.
- Attributes
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
Point(IntPtr, JniHandleOwnership)
A constructor used when creating managed representations of JNI objects; called by the runtime.
protected Point(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Graphics.Point : nativeint * Android.Runtime.JniHandleOwnership -> Android.Graphics.Point
Parameters
- transfer
- JniHandleOwnership
A JniHandleOwnershipindicating how to handle javaReference
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.