Table of Contents

Class NSFontDescriptor

Namespace
CarinaStudio.MacOS.AppKit
Assembly
CarinaStudio.AppBase.MacOS.dll

NSFontDescriptor.

public class NSFontDescriptor : NSObject, IDisposable, IEquatable<NSObject>
Inheritance
NSFontDescriptor
Implements
Inherited Members
Extension Methods

Methods

GetCFObject<T>(AttributeName)

Returns the font attribute specified by the given key.

public T? GetCFObject<T>(NSFontDescriptor.AttributeName attribute) where T : CFObject

Parameters

attribute NSFontDescriptor.AttributeName

Returns

T

Type Parameters

T

GetObject<T>(AttributeName)

Returns the font attribute specified by the given key.

public T? GetObject<T>(NSFontDescriptor.AttributeName attribute) where T : NSObject

Parameters

attribute NSFontDescriptor.AttributeName

Returns

T

Type Parameters

T