편집

다음을 통해 공유


SKFont.MeasureText Method

Definition

Overloads

MeasureText(ReadOnlySpan<UInt16>, SKPaint)
MeasureText(ReadOnlySpan<UInt16>, SKRect, SKPaint)

MeasureText(ReadOnlySpan<UInt16>, SKPaint)

public float MeasureText (ReadOnlySpan<ushort> glyphs, SkiaSharp.SKPaint paint = default);

Parameters

paint
SKPaint

Returns

Applies to

MeasureText(ReadOnlySpan<UInt16>, SKRect, SKPaint)

public float MeasureText (ReadOnlySpan<ushort> glyphs, out SkiaSharp.SKRect bounds, SkiaSharp.SKPaint paint = default);

Parameters

bounds
SKRect
paint
SKPaint

Returns

Applies to