UIFontDescriptor Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[Foundation.Register("UIFontDescriptor", true)]
public class UIFontDescriptor : Foundation.NSObject, Foundation.INSCopying, Foundation.INSSecureCoding, IDisposable
[<Foundation.Register("UIFontDescriptor", true)>]
type UIFontDescriptor = class
inherit NSObject
interface INSCoding
interface INativeObject
interface IDisposable
interface INSCopying
interface INSSecureCoding
- Inheritance
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| UIFontDescriptor() |
Creates a new UIFontDescriptor with default values. |
| UIFontDescriptor(NativeHandle) |
A constructor used when creating managed representations of unmanaged objects. Called by the runtime. |
| UIFontDescriptor(NSCoder) |
A constructor that initializes the object from the data stored in the unarchiver object. |
| UIFontDescriptor(NSDictionary) | |
| UIFontDescriptor(NSObjectFlag) |
Constructor to call on derived classes to skip initialization and merely allocate the object. |
| UIFontDescriptor(UIFontAttributes) |
Creates a font descriptor using the specified font attributes. |
Properties
| Name | Description |
|---|---|
| AccessibilityAttributedUserInputLabels | (Inherited from NSObject) |
| AccessibilityRespondsToUserInteraction | (Inherited from NSObject) |
| AccessibilityTextualContext | (Inherited from NSObject) |
| AccessibilityUserInputLabels | (Inherited from NSObject) |
| CascadeList |
The list of sub descriptors to be used before the system default fallbacks. |
| CharacterSet |
The character set supported by the specified font. |
| Class | (Inherited from NSObject) |
| ClassHandle |
The Objective-C class handle for this class. |
| DebugDescription | (Inherited from NSObject) |
| Description | (Inherited from NSObject) |
| Face |
The font face. |
| Family |
The font family. |
| FeatureSettings |
Typographic and layout feature settings. |
| FixedAdvance |
The override for the font's fixed advance for individual glyphs. |
| FontAttributes |
The font attributes. |
| Handle |
Handle (pointer) to the unmanaged object representation. (Inherited from NSObject) |
| IsDirectBinding |
Gets or sets a value indicating whether this instance uses direct Objective-C binding. (Inherited from NSObject) |
| IsProxy | (Inherited from NSObject) |
| Matrix | |
| Name |
The name of the descriptor. |
| PointSize | |
| PostscriptName | |
| PreferredBody |
Gets the UIFontDescriptor describing the preferred font for body text. |
| PreferredCallout |
Gets the UIFontDescriptor describing the preferred font for callouts. |
| PreferredCaption1 |
Gets the UIFontDescriptor describing the preferred font for captions. |
| PreferredCaption2 |
Gets the UIFontDescriptor describing the preferred font for caption 2. |
| PreferredFootnote |
Gets the UIFontDescriptor describing the preferred font for footnotes. |
| PreferredHeadline |
Gets the UIFontDescriptor describing the preferred font for headlines. |
| PreferredSubheadline |
Gets the UIFontDescriptor describing the preferred font for subheadings. |
| PreferredTitle1 |
Gets the UIFontDescriptor describing the preferred font for title 1. |
| PreferredTitle2 |
Gets the UIFontDescriptor describing the preferred font for title 2. |
| PreferredTitle3 |
Gets the UIFontDescriptor describing the preferred font for title 3. |
| RetainCount | (Inherited from NSObject) |
| Self | (Inherited from NSObject) |
| Size |
The font size, if set. |
| Superclass | (Inherited from NSObject) |
| SuperHandle |
Handle used to represent the methods in the base class for this NSObject. (Inherited from NSObject) |
| SymbolicTraits | |
| TextStyle |
The name of the style to use for text. |
| Traits |
The font's traits. |
| VisibleName |
The visible name for this descriptor. |
| WeakFeatureSettings |
The weakly typed version of the feature settings. |
| WeakFontAttributes | |
| Zone | (Inherited from NSObject) |