UIKit.UIFont Members

The members of UIKit.UIFont are listed below.

See Also: Inherited members from Foundation.NSObject

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]
Ascendernfloat. The top y-coordinate of the longest ascender, as measured in points from the baseline.
[read-only]
static
ButtonFontSizenfloat. Returns the font size of a standard button in points.
[read-only]
CapHeightnfloat. The height of a capital letter, measured in points. Read-only.
[read-only]
override
ClassHandleIntPtr. The handle for this class.
[read-only]
Descendernfloat. The bottom y-coordinate of the longest descender, as measured from the baseline, in points.
[read-only]
FamilyNamestring. The name of the font family that identifies one (or more) specific fonts. Read-only.
[read-only]
static
FamilyNamesstring[]. A list of the font families on the system.
[read-only]
FontDescriptorUIFontDescriptor. The UIFontDescriptor for this UIFont.
[read-only]
static
LabelFontSizenfloat. This property will return the size of the font use for labels, as measured in points.
[read-only]
Leadingnfloat. Deprecated: spacing between lines of text from baseline to baseline. Use LineHeight instead.
[read-only]
LineHeightnfloat. The height of the text lines as measured in points. Read-only.
[read-only]
Namestring. The name of the font. Read-only.
[read-only]
PointSizenfloat. The size of a point in the receiver.
[read-only]
static
PreferredBodyUIFont. The preferred UIFont for the Body dynamic type.
[read-only]
static
PreferredCaption1UIFont. The preferred UIFont for the Caption1 dynamic type.
[read-only]
static
PreferredCaption2UIFont. The preferred UIFont for the Caption2 dynamic type.
[read-only]
static
PreferredFootnoteUIFont. The preferred UIFont for the Footnote dynamic type.
[read-only]
static
PreferredHeadlineUIFont. The preferred UIFont for the Headline dynamic type.
[read-only]
static
PreferredSubheadlineUIFont. The preferred UIFont for the Subheadline dynamic type.
[read-only]
static
SmallSystemFontSizenfloat. The size of the system font as measured in points.
[read-only]
static
SystemFontSizenfloat. Creates a system font of the specified size, as measure in points.
[read-only]
xHeightnfloat. The size of the a lower cased "x", as measured in points.

Public Methods

static
BoldSystemFontOfSize(nfloat) : UIFont
Returns a boldfaced font of the standard system font in the size specified.
Copy(Foundation.NSZone) : Foundation.NSObject
Performs a copy of the underlying Objective-C object.
static
FontNamesForFamilyName(string) : string[]
Returns a list of fonts in the given family.
static
FromDescriptor(UIFontDescriptor, nfloat) : UIFont
Factory method that creates a UIFont from the specified descriptor.
static
FromName(string, nfloat) : UIFont
Creates a font of the specified size.
static
GetPreferredFontForTextStyle(Foundation.NSString) : UIFont
Weakly-typed version of an API used to retrieve the user's desired font size.
static
ItalicSystemFontOfSize(nfloat) : UIFont
Creates an italicized system font of the specified size.
static
SystemFontOfSize(nfloat) : UIFont
Creates a system font of the specified size.
override
ToString() : string
Returns a string representation of the value of the current instance.
WithSize(nfloat) : UIFont
Returns a new font based on the current one, with the new specified size.

Protected Methods

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