NinePatch.SetPaint(Paint) Method

Definition

Sets the paint to use when drawing the NinePatch.

[Android.Runtime.Register("setPaint", "(Landroid/graphics/Paint;)V", "GetSetPaint_Landroid_graphics_Paint_Handler")]
public virtual void SetPaint (Android.Graphics.Paint? p);
[<Android.Runtime.Register("setPaint", "(Landroid/graphics/Paint;)V", "GetSetPaint_Landroid_graphics_Paint_Handler")>]
abstract member SetPaint : Android.Graphics.Paint -> unit
override this.SetPaint : Android.Graphics.Paint -> unit

Parameters

p
Paint

The paint that will be used to draw this NinePatch.

Attributes

Remarks

Sets the paint to use when drawing the NinePatch.

Java documentation for android.graphics.NinePatch.setPaint(android.graphics.Paint).

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

See also

  • Paint
  • <xref:Android.Graphics.NinePatch.Draw(Android.Graphics.Canvas%2c+Android.Graphics.Rect)>
  • <xref:Android.Graphics.NinePatch.Draw(Android.Graphics.Canvas%2c+Android.Graphics.RectF)>