CTFontDescriptorAttributes 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.
Strongly typed class that contains font attributes.
public class CTFontDescriptorAttributes
type CTFontDescriptorAttributes = class
- Inheritance
-
CTFontDescriptorAttributes
Remarks
This is a class that allows developers to easily consume and configure font descriptor attributes.
var attributes = new CTFontDescriptorAttributes () {
FamilyName = "Times New Roman"
};
var fontDescriptor = new CTFontDescriptor (attributes);
Constructors
CTFontDescriptorAttributes() |
Default constructor. |
CTFontDescriptorAttributes(NSDictionary) |
Creates a strongly typed CTFontDescriptorAttributes from a weakly typed NSDictionary. |
Properties
BaselineAdjust |
The Baseline Adjustment. |
CascadeList |
Cascade list of font descriptors. |
CharacterSet |
The character set. |
Dictionary |
The NSDictionary that reflects the current values in the strongly typed CTFontDescriptorAttributes. |
DisplayName |
The font display name |
Enabled |
Enabled state. |
FamilyName |
The font family name. |
Features |
The font features for a font reference. |
FeatureSettings |
Feature settings for the font. |
FixedAdvance |
If set, overrides the font built-in constant advance. |
FontFormat |
Font format. |
FontOrientation |
The font orientation. |
Languages |
List of supported languages by the font, must be encoded in RFC3066bis standard. |
MacintoshEncodings |
If set, the Macintosh encodings for this font. |
Matrix |
If set, the transformation matrix used when creating the font. |
Name |
The PostScript name for the font. |
Priority |
The font priority used when resolving font duplicates. |
RegistrationScope |
The font registration scope. |
Size |
The font point size, if not specified, the default 12.0 is used. |
StyleName |
The font stylename |
Traits |
The font traits. |
Url |
Used to access the URL for the font. |
Variation |
Font variation. |