TextPaint 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 |
|---|---|
| TextPaint() |
Creates text paint with the default drawing settings. |
| TextPaint(Paint) |
Creates text paint from the inherited settings of another paint. |
| TextPaint(PaintFlags) |
Creates text paint with the specified drawing flags. |
| TextPaint(IntPtr, JniHandleOwnership) |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
TextPaint()
Creates text paint with the default drawing settings.
[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)
Creates text paint from the inherited settings of another 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
The paint whose inherited drawing settings are copied.
- Attributes
Remarks
Android reference for android.text.TextPaint.TextPaint.
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)
Creates text paint with the specified drawing flags.
[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
The drawing flags passed to the inherited paint constructor.
- Attributes
Remarks
Android reference for android.text.TextPaint.TextPaint.
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
- 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.