Compartilhar via


PointF Constructors

Definition

Overloads

PointF()

Create a new PointF initialized with the values in the specified PointF (which is left unmodified).

PointF(Point)

Create a new PointF initialized with the values in the specified PointF (which is left unmodified).

PointF(PointF)

Create a new PointF initialized with the values in the specified PointF (which is left unmodified).

PointF(IntPtr, JniHandleOwnership)

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

PointF(Single, Single)

Create a new PointF initialized with the values in the specified PointF (which is left unmodified).

PointF()

Create a new PointF initialized with the values in the specified PointF (which is left unmodified).

[Android.Runtime.Register(".ctor", "()V", "")]
public PointF ();
Attributes

Remarks

Java documentation for android.graphics.PointF.PointF(android.graphics.PointF).

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

PointF(Point)

Create a new PointF initialized with the values in the specified PointF (which is left unmodified).

[Android.Runtime.Register(".ctor", "(Landroid/graphics/Point;)V", "")]
public PointF (Android.Graphics.Point p);
[<Android.Runtime.Register(".ctor", "(Landroid/graphics/Point;)V", "")>]
new Android.Graphics.PointF : Android.Graphics.Point -> Android.Graphics.PointF

Parameters

p
Point

The point whose values are copied into the new point.

Attributes

Remarks

Java documentation for android.graphics.PointF.PointF(android.graphics.PointF).

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

PointF(PointF)

Create a new PointF initialized with the values in the specified PointF (which is left unmodified).

[Android.Runtime.Register(".ctor", "(Landroid/graphics/PointF;)V", "", ApiSince=30)]
public PointF (Android.Graphics.PointF p);
[<Android.Runtime.Register(".ctor", "(Landroid/graphics/PointF;)V", "", ApiSince=30)>]
new Android.Graphics.PointF : Android.Graphics.PointF -> Android.Graphics.PointF

Parameters

p
PointF

The point whose values are copied into the new point.

Attributes

Remarks

Create a new PointF initialized with the values in the specified PointF (which is left unmodified).

Java documentation for android.graphics.PointF.PointF(android.graphics.PointF).

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

PointF(IntPtr, JniHandleOwnership)

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

protected PointF (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Graphics.PointF : nativeint * Android.Runtime.JniHandleOwnership -> Android.Graphics.PointF

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

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.

Applies to

PointF(Single, Single)

Create a new PointF initialized with the values in the specified PointF (which is left unmodified).

[Android.Runtime.Register(".ctor", "(FF)V", "")]
public PointF (float x, float y);
[<Android.Runtime.Register(".ctor", "(FF)V", "")>]
new Android.Graphics.PointF : single * single -> Android.Graphics.PointF

Parameters

x
Single
y
Single
Attributes

Remarks

Java documentation for android.graphics.PointF.PointF(android.graphics.PointF).

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