Edit

SKFont Constructors

Definition

Overloads

Name Description
SKFont()

Creates a new SKFont with the default typeface and size.

SKFont(SKTypeface, Single, Single, Single)

Creates a new SKFont with the specified typeface and settings.

SKFont()

Creates a new SKFont with the default typeface and size.

public SKFont();

Applies to

SKFont(SKTypeface, Single, Single, Single)

Creates a new SKFont with the specified typeface and settings.

public SKFont(SkiaSharp.SKTypeface typeface, float size = 12, float scaleX = 1, float skewX = 0);

Parameters

typeface
SKTypeface

The SKTypeface to use, or null for the default typeface.

size
Single

The font size in points. The default is 12.

scaleX
Single

The horizontal scale factor. The default is 1.

skewX
Single

The horizontal skew factor for oblique/italic effect. The default is 0.

Applies to