Edit

Share via


SKPaint.ToFont Method

Definition

Caution

Use SKFont instead.

Creates an SKFont from the paint's text settings.

public SkiaSharp.SKFont ToFont();
[System.Obsolete("Use SKFont instead.")]
public SkiaSharp.SKFont ToFont();

Returns

A new SKFont initialized with the paint's typeface and text size settings.

Attributes

Applies to