Condividi tramite


TextPaint Constructors

Definition

Overloads

TextPaint()
TextPaint(Paint)
TextPaint(PaintFlags)
TextPaint(IntPtr, JniHandleOwnership)

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

TextPaint()

[Android.Runtime.Register(".ctor", "()V", "")]
public TextPaint ();
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

TextPaint(Paint)

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

Parameters

p
Paint
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

TextPaint(PaintFlags)

[Android.Runtime.Register(".ctor", "(I)V", "")]
public TextPaint (Android.Graphics.PaintFlags flags);
[<Android.Runtime.Register(".ctor", "(I)V", "")>]
new Android.Text.TextPaint : Android.Graphics.PaintFlags -> Android.Text.TextPaint

Parameters

flags
PaintFlags
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

TextPaint(IntPtr, JniHandleOwnership)

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

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

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