PeachDrawing.Skia.ISkiaTextShaper

ISkiaTextShaper.Shape(string, SKFont) Method

Shapes text in font, which carries the typeface, size and styling to shape with.

PeachDrawing.Skia.SkiaShapedRun Shape(string text, SkiaSharp.SKFont font);

Parameters

text System.String

the text of one run

font SkiaSharp.SKFont

the font to shape with

Returns

SkiaShapedRun
the shaped run