SkiaTextLayout 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
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