CanvasExtensions.DrawString Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
DrawString(ICanvas, String, Rect, HorizontalAlignment, VerticalAlignment, TextFlow, Single) | |
DrawString(ICanvas, String, RectF, HorizontalAlignment, VerticalAlignment, TextFlow, Single) |
DrawString(ICanvas, String, Rect, HorizontalAlignment, VerticalAlignment, TextFlow, Single)
public static void DrawString (this Microsoft.Maui.Graphics.ICanvas target, string value, Microsoft.Maui.Graphics.Rect bounds, Microsoft.Maui.Graphics.HorizontalAlignment horizontalAlignment, Microsoft.Maui.Graphics.VerticalAlignment verticalAlignment, Microsoft.Maui.Graphics.TextFlow textFlow = Microsoft.Maui.Graphics.TextFlow.ClipBounds, float lineSpacingAdjustment = 0);
static member DrawString : Microsoft.Maui.Graphics.ICanvas * string * Microsoft.Maui.Graphics.Rect * Microsoft.Maui.Graphics.HorizontalAlignment * Microsoft.Maui.Graphics.VerticalAlignment * Microsoft.Maui.Graphics.TextFlow * single -> unit
<Extension()>
Public Sub DrawString (target As ICanvas, value As String, bounds As Rect, horizontalAlignment As HorizontalAlignment, verticalAlignment As VerticalAlignment, Optional textFlow As TextFlow = Microsoft.Maui.Graphics.TextFlow.ClipBounds, Optional lineSpacingAdjustment As Single = 0)
Parâmetros
- target
- ICanvas
- value
- String
- bounds
- Rect
- horizontalAlignment
- HorizontalAlignment
- verticalAlignment
- VerticalAlignment
- textFlow
- TextFlow
- lineSpacingAdjustment
- Single
Aplica-se a
DrawString(ICanvas, String, RectF, HorizontalAlignment, VerticalAlignment, TextFlow, Single)
public static void DrawString (this Microsoft.Maui.Graphics.ICanvas target, string value, Microsoft.Maui.Graphics.RectF bounds, Microsoft.Maui.Graphics.HorizontalAlignment horizontalAlignment, Microsoft.Maui.Graphics.VerticalAlignment verticalAlignment, Microsoft.Maui.Graphics.TextFlow textFlow = Microsoft.Maui.Graphics.TextFlow.ClipBounds, float lineSpacingAdjustment = 0);
static member DrawString : Microsoft.Maui.Graphics.ICanvas * string * Microsoft.Maui.Graphics.RectF * Microsoft.Maui.Graphics.HorizontalAlignment * Microsoft.Maui.Graphics.VerticalAlignment * Microsoft.Maui.Graphics.TextFlow * single -> unit
<Extension()>
Public Sub DrawString (target As ICanvas, value As String, bounds As RectF, horizontalAlignment As HorizontalAlignment, verticalAlignment As VerticalAlignment, Optional textFlow As TextFlow = Microsoft.Maui.Graphics.TextFlow.ClipBounds, Optional lineSpacingAdjustment As Single = 0)
Parâmetros
- target
- ICanvas
- value
- String
- bounds
- RectF
- horizontalAlignment
- HorizontalAlignment
- verticalAlignment
- VerticalAlignment
- textFlow
- TextFlow
- lineSpacingAdjustment
- Single