共用方式為


SkiaTextLayout 建構函式

定義

public SkiaTextLayout (string value, Microsoft.Maui.Graphics.RectF rect, Microsoft.Maui.Graphics.ITextAttributes textAttributes, Microsoft.Maui.Graphics.LayoutLine callback, Microsoft.Maui.Graphics.TextFlow textFlow = Microsoft.Maui.Graphics.TextFlow.ClipBounds, SkiaSharp.SKPaint paint = default);
new Microsoft.Maui.Graphics.Skia.SkiaTextLayout : string * Microsoft.Maui.Graphics.RectF * Microsoft.Maui.Graphics.ITextAttributes * Microsoft.Maui.Graphics.LayoutLine * Microsoft.Maui.Graphics.TextFlow * SkiaSharp.SKPaint -> Microsoft.Maui.Graphics.Skia.SkiaTextLayout
Public Sub New (value As String, rect As RectF, textAttributes As ITextAttributes, callback As LayoutLine, Optional textFlow As TextFlow = Microsoft.Maui.Graphics.TextFlow.ClipBounds, Optional paint As SKPaint = Nothing)

參數

value
String
rect
RectF
textAttributes
ITextAttributes
callback
LayoutLine
textFlow
TextFlow
paint
SKPaint

適用於