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 |
Specifies the list of sub descriptors to be used before the system default fallbacks. |
| CharacterSet |
Describes 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 |
Override for font's fixed advance for individual glyphs. |
| FontAttributes |
The font attributes. |
| Handle |
Handle (pointer) to the unmanaged object representation. (Inherited from NSObject) |
| IsDirectBinding | (Inherited from NSObject) |
| IsProxy | (Inherited from NSObject) |
| Matrix | |
| Name |
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 titles ('Title 1'). |
| PreferredTitle2 |
Gets the UIFontDescriptor describing the preferred font for level 2 titles ('Title 2'). |
| PreferredTitle3 |
Gets the UIFontDescriptor describing the preferred font for level 3 titles ('Title 3'). |
| RetainCount | (Inherited from NSObject) |
| Self | (Inherited from NSObject) |
| Size |
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 |
Name of the style to use for text. |
| Traits |
Font's traits. |
| VisibleName |
The visible name for this descriptor. |
| WeakFeatureSettings |
Weakly typed version of the feature settings. |
| WeakFontAttributes | |
| Zone | (Inherited from NSObject) |