共用方式為


NinePatch.Paint Property

Definition

Returns the paint used to draw this NinePatch.

public virtual Android.Graphics.Paint? Paint { [Android.Runtime.Register("getPaint", "()Landroid/graphics/Paint;", "GetGetPaintHandler")] get; }
[<get: Android.Runtime.Register("getPaint", "()Landroid/graphics/Paint;", "GetGetPaintHandler")>]
member this.Paint : Android.Graphics.Paint

Property Value

Attributes

Remarks

Returns the paint used to draw this NinePatch. The paint can be null.

Java documentation for android.graphics.NinePatch.getPaint().

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

  • SetPaint(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)>