RecordingCanvas.DrawPatch Method
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 |
|---|---|
| DrawPatch(NinePatch, Rect, Paint) |
Draws the specified bitmap as an N-patch (most often, a 9-patch.) Note: antialiasing is not supported, therefore Paint.ANTI_ALIAS_FLAG is ignored. |
| DrawPatch(NinePatch, RectF, Paint) |
Draws the specified bitmap as an N-patch (most often, a 9-patch.) Note: antialiasing is not supported, therefore Paint.ANTI_ALIAS_FLAG is ignored. |
DrawPatch(NinePatch, Rect, Paint)
Draws the specified bitmap as an N-patch (most often, a 9-patch.) Note: antialiasing is not supported, therefore Paint.ANTI_ALIAS_FLAG is ignored.
[Android.Runtime.Register("drawPatch", "(Landroid/graphics/NinePatch;Landroid/graphics/Rect;Landroid/graphics/Paint;)V", "", ApiSince=29)]
public override sealed void DrawPatch(Android.Graphics.NinePatch patch, Android.Graphics.Rect dst, Android.Graphics.Paint? paint);
[<Android.Runtime.Register("drawPatch", "(Landroid/graphics/NinePatch;Landroid/graphics/Rect;Landroid/graphics/Paint;)V", "", ApiSince=29)>]
override this.DrawPatch : Android.Graphics.NinePatch * Android.Graphics.Rect * Android.Graphics.Paint -> unit
Parameters
- patch
- NinePatch
- dst
- Rect
- paint
- Paint
- Attributes
Remarks
Draws the specified bitmap as an N-patch (most often, a 9-patch.) Note: antialiasing is not supported, therefore Paint.ANTI_ALIAS_FLAG is ignored.
Android reference for android.graphics.RecordingCanvas.drawPatch.
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
DrawPatch(NinePatch, RectF, Paint)
Draws the specified bitmap as an N-patch (most often, a 9-patch.) Note: antialiasing is not supported, therefore Paint.ANTI_ALIAS_FLAG is ignored.
[Android.Runtime.Register("drawPatch", "(Landroid/graphics/NinePatch;Landroid/graphics/RectF;Landroid/graphics/Paint;)V", "", ApiSince=29)]
public override sealed void DrawPatch(Android.Graphics.NinePatch patch, Android.Graphics.RectF dst, Android.Graphics.Paint? paint);
[<Android.Runtime.Register("drawPatch", "(Landroid/graphics/NinePatch;Landroid/graphics/RectF;Landroid/graphics/Paint;)V", "", ApiSince=29)>]
override this.DrawPatch : Android.Graphics.NinePatch * Android.Graphics.RectF * Android.Graphics.Paint -> unit
Parameters
- patch
- NinePatch
- dst
- RectF
- paint
- Paint
- Attributes
Remarks
Android reference for android.graphics.RecordingCanvas.drawPatch.
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.