UIKit.UIFontDescriptor Members

The members of UIKit.UIFontDescriptor are listed below.

See Also: Inherited members from Foundation.NSObject

Public Constructors

Default constructor, initializes a new instance of this class.
A constructor that initializes the object from the data stored in the unarchiver object.
Creates a UIFontDescriptor using a set of attributes contained in the dictionary.
Creates a font descriptor using the specified font attributes.

Protected Constructors

Constructor to call on derived classes to skip initialization and merely allocate the object.
A constructor used when creating managed representations of unmanaged objects; Called by the runtime.

Public Properties

[read-only]
CascadeListUIFontDescriptor[]. Specifies the list of sub descriptors to be used before the system default fallbacks.
[read-only]
CharacterSetFoundation.NSCharacterSet. Describes the character set supported by the specified font.
[read-only]
override
ClassHandleIntPtr. The handle for this class.
[read-only]
Facestring. The font face.
[read-only]
Familystring. The font family.
[read-only]
FeatureSettingsUIFontFeature[]. Typographic and layout feature settings.
[read-only]
FixedAdvanceNullable<float>. Override for font's fixed advance for individual glyphs.
[read-only]
FontAttributesUIFontAttributes. The font attributes.
[read-only]
MatrixCoreGraphics.CGAffineTransform. Transformation matrix for the descriptor.
[read-only]
Namestring. Name of the descriptor.
[read-only]
PointSizenfloat. Point size in the descriptor.
[read-only]
PostscriptNamestring. The font's PostScript name.
[read-only]
static
PreferredBodyUIFontDescriptor. The preferred UIFontDescriptor for the Body dynamic type.
[read-only]
static
PreferredCaption1UIFontDescriptor. The preferred UIFontDescriptor for the Caption1 dynamic type.
[read-only]
static
PreferredCaption2UIFontDescriptor. The preferred UIFontDescriptor for the Caption2 dynamic type.
[read-only]
static
PreferredFootnoteUIFontDescriptor. The preferred UIFontDescriptor for the Footnote dynamic type.
[read-only]
static
PreferredHeadlineUIFontDescriptor. The preferred UIFontDescriptor for the Headline dynamic type.
[read-only]
static
PreferredSubheadlineUIFontDescriptor. The preferred UIFontDescriptor for the Subheadline dynamic type.
[read-only]
SizeNullable<float>. Font size (if set).
[read-only]
SymbolicTraitsUIFontDescriptorSymbolicTraits. Font's Symbolic traits
[read-only]
TextStyleFoundation.NSString. Name of the style to use for text.
[read-only]
TraitsUIFontTraits. Font's traits.
[read-only]
VisibleNamestring. The visible name for this descriptor.
[read-only]
WeakFeatureSettingsFoundation.NSDictionary[]. Weakly typed version of the feature settings.
[read-only]
WeakFontAttributesFoundation.NSDictionary. (Weak) font attributes.

Public Methods

Copy(Foundation.NSZone) : Foundation.NSObject
Performs a copy of the underlying Objective-C object.
CreateWithAttributes(Foundation.NSDictionary) : UIFontDescriptor
Creates a new UIFontDescriptor based on adding the provided attributes to the current descriptor.
CreateWithAttributes(UIFontAttributes) : UIFontDescriptor
Creates a new UIFontDescriptor based on adding the provided attributes to the current descriptor.
CreateWithFace(string) : UIFontDescriptor
Creates a new UIFontDescriptor based on setting a font face to the current descriptor.
CreateWithFamily(string) : UIFontDescriptor
Creates a new UIFontDescriptor based on setting a font family to the current descriptor.
CreateWithMatrix(CoreGraphics.CGAffineTransform) : UIFontDescriptor
Creates a new UIFontDescriptor based on setting a new transformation matrix to the current descriptor.
CreateWithSize(nfloat) : UIFontDescriptor
Creates a new UIFontDescriptor based on setting a new font size to the current descriptor.
CreateWithTraits(UIFontDescriptorSymbolicTraits) : UIFontDescriptor
Creates a new UIFontDescriptor based on setting a new symbolic traits to the current descriptor.
EncodeTo(Foundation.NSCoder)
Encodes the state of the object on the provided encoder
static
FromAttributes(Foundation.NSDictionary) : UIFontDescriptor
(Weak) Creates a UIFontDescriptor using a set of attributes contained in the dictionary.
static
FromAttributes(UIFontAttributes) : UIFontDescriptor
Creates a UIFontDescriptor using a set of attributes contained in the dictionary.
static
FromName(string, CoreGraphics.CGAffineTransform) : UIFontDescriptor
Creates a UIFontDescriptor using the specified name and transformation matrix.
static
FromName(string, nfloat) : UIFontDescriptor
Creates a UIFontDescriptor using the specified name and font size.
GetMatchingFontDescriptors(Foundation.NSSet) : UIFontDescriptor[]
Retrieve a UIFontDescriptor with an explicit set of features.
GetMatchingFontDescriptors(params UIFontDescriptorAttribute[]) : UIFontDescriptor[]
Retrieve a UIFontDescriptor with an explicit set of features.
GetObject(Foundation.NSString) : Foundation.NSObject
Low-level/weak API to retrieve properties from the UIFontDescriptor.
static
GetPreferredDescriptorForTextStyle(Foundation.NSString) : UIFontDescriptor
Weakly-typed version of an API used to retrieve the user's desired font size.

Protected Methods

override
Dispose(bool)
Releases the resources used by the UIFontDescriptor object.