ReplacementSpan.Draw 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
Draw(Canvas, ICharSequence, Int32, Int32, Single, Int32, Int32, Int32, Paint) |
Draws the span into the canvas. |
Draw(Canvas, String, Int32, Int32, Single, Int32, Int32, Int32, Paint) |
Draws the span into the canvas. |
Draw(Canvas, ICharSequence, Int32, Int32, Single, Int32, Int32, Int32, Paint)
Draws the span into the canvas.
[Android.Runtime.Register("draw", "(Landroid/graphics/Canvas;Ljava/lang/CharSequence;IIFIIILandroid/graphics/Paint;)V", "GetDraw_Landroid_graphics_Canvas_Ljava_lang_CharSequence_IIFIIILandroid_graphics_Paint_Handler")]
public abstract void Draw (Android.Graphics.Canvas canvas, Java.Lang.ICharSequence? text, int start, int end, float x, int top, int y, int bottom, Android.Graphics.Paint paint);
[<Android.Runtime.Register("draw", "(Landroid/graphics/Canvas;Ljava/lang/CharSequence;IIFIIILandroid/graphics/Paint;)V", "GetDraw_Landroid_graphics_Canvas_Ljava_lang_CharSequence_IIFIIILandroid_graphics_Paint_Handler")>]
abstract member Draw : Android.Graphics.Canvas * Java.Lang.ICharSequence * int * int * single * int * int * int * Android.Graphics.Paint -> unit
Parameters
- canvas
- Canvas
Canvas into which the span should be rendered.
- text
- ICharSequence
Current text.
- start
- Int32
Start character index for span.
- end
- Int32
End character index for span.
- x
- Single
Edge of the replacement closest to the leading margin.
- top
- Int32
Top of the line.
- y
- Int32
Baseline.
- bottom
- Int32
Bottom of the line.
- paint
- Paint
Paint instance.
- Attributes
Remarks
Draws the span into the canvas.
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
Draw(Canvas, String, Int32, Int32, Single, Int32, Int32, Int32, Paint)
Draws the span into the canvas.
public void Draw (Android.Graphics.Canvas canvas, string? text, int start, int end, float x, int top, int y, int bottom, Android.Graphics.Paint paint);
member this.Draw : Android.Graphics.Canvas * string * int * int * single * int * int * int * Android.Graphics.Paint -> unit
Parameters
- canvas
- Canvas
Canvas into which the span should be rendered.
- text
- String
Current text.
- start
- Int32
Start character index for span.
- end
- Int32
End character index for span.
- x
- Single
Edge of the replacement closest to the leading margin.
- top
- Int32
Top of the line.
- y
- Int32
Baseline.
- bottom
- Int32
Bottom of the line.
- paint
- Paint
Paint instance.
Remarks
Draws the span into the canvas.
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.