PeachDrawing.Skia.PeachTextShaper

PeachTextShaper.Shape(string, SKFont) Method

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

public 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

Implements Shape(string, SKFont)

Returns

SkiaShapedRun
the shaped run