CPF/CPF.Mac/Mac/CoreText/CTFontFeatureLigatures.cs
2023-11-21 23:05:03 +08:00

41 lines
811 B
C#

using CPF.Mac.Foundation;
namespace CPF.Mac.CoreText
{
public class CTFontFeatureLigatures : CTFontFeatureSelectors
{
public enum Selector
{
RequiredLigaturesOn,
RequiredLigaturesOff,
CommonLigaturesOn,
CommonLigaturesOff,
RareLigaturesOn,
RareLigaturesOff,
LogosOn,
LogosOff,
RebusPicturesOn,
RebusPicturesOff,
DiphthongLigaturesOn,
DiphthongLigaturesOff,
SquaredLigaturesOn,
SquaredLigaturesOff,
AbbrevSquaredLigaturesOn,
AbbrevSquaredLigaturesOff,
SymbolLigaturesOn,
SymbolLigaturesOff,
ContextualLigaturesOn,
ContextualLigaturesOff,
HistoricalLigaturesOn,
HistoricalLigaturesOff
}
public Selector Feature => (Selector)base.FeatureWeak;
public CTFontFeatureLigatures(NSDictionary dictionary)
: base(dictionary)
{
}
}
}