Upravit

Sdílet prostřednictvím


SKTypeface.FromData(SKData, Int32) Method

Definition

Returns a new typeface given data.

public static SkiaSharp.SKTypeface FromData (SkiaSharp.SKData data, int index = 0);

Parameters

data
SKData

The input data.

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