Android Guides | Samples

Android.Graphics.Point Class

Point holds two integer coordinates

See Also: Point

Syntax

[Android.Runtime.Register("android/graphics/Point", DoNotGenerateAcw=true)]
public class Point : Object, IParcelable, IDisposable

Remarks

Point holds two integer coordinates

[Android Documentation]

Requirements

Namespace: Android.Graphics
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1

The members of Android.Graphics.Point are listed below.

See Also: Object

Public Constructors

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Public Properties

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

DescribeContents() : Int32
Parcelable interface methods
Equals(Int32, Int32) : Boolean
Returns true if the point's coordinates equal (x,y)
Negate()
Negate the point's coordinates
Offset(Int32, Int32)
Offset the point's coordinates by dx, dy
ReadFromParcel(Parcel)
Set the point's coordinates from the data stored in the specified parcel.
Set(Int32, Int32)
Set the point's x and y coordinates
WriteToParcel(Parcel, ParcelableWriteFlags)
Write this point to the specified parcel.