Upravit

Sdílet prostřednictvím


SKTypeface.FromFile(String, Int32) Method

Definition

Returns a new typeface given a file.

public static SkiaSharp.SKTypeface FromFile (string path, int index = 0);

Parameters

path
String

The path of the file.

index
Int32

The font face index.

Returns

Returns a new typeface, or null if the file does not exist, or is not a valid font file.

Applies to