WithFeature(String, Boolean) Method

Definition

Namespace Broadside.Fonts
Assembly Broadside.dll

Returns a copy with a feature turned on or off.

public TextShaping WithFeature(string feature, bool enabled)

Parameters

feature
String

An OpenType feature tag of one to four printable ASCII characters (such as liga or smcp).

enabled
Boolean

Whether the feature applies.

Returns

TextShaping
The changed copy.