Table of Contents

Interface IFontResolver

Namespace
ScottPlot
Assembly
ScottPlot.dll

Provides functionality that converts a requested typeface into a physical font

public interface IFontResolver
Extension Methods

Methods

CreateTypeface(string, FontWeight, FontSlant, FontSpacing)

Returns a new instance to a typeface with exactly specified styles

SKTypeface? CreateTypeface(string fontName, FontWeight weight, FontSlant slant, FontSpacing spacing)

Parameters

fontName string
weight FontWeight
slant FontSlant
spacing FontSpacing

Returns

SKTypeface

CreateTypeface(string, bool, bool)

Returns a new instance to a typeface that most closely matches the requested family name and style

SKTypeface? CreateTypeface(string fontName, bool bold, bool italic)

Parameters

fontName string
bold bool
italic bool

Returns

SKTypeface