#import <CPFontDescriptor.h>
Definition at line 2 of file CPFontDescriptor.h.
◆ cssString()
◆ encodeWithCoder:()
- (void) encodeWithCoder: |
|
(CPCoder) |
aCoder |
|
|
implementation |
◆ fontAttributes()
◆ fontDescriptorByAddingAttributes:()
Returns a new font descriptor that is the same as the receiver but with the specified attributes taking precedence over the existing ones.
- Parameters
-
attributes | a dictionary that describe the desired font descriptor |
- Returns
- the new font descriptor
Definition at line 144 of file CPFontDescriptor.j.
◆ fontDescriptorWithFontAttributes:()
Returns a font descriptor with the specified attributes.
- Parameters
-
attributes | a dictionary that describe the desired font descriptor |
- Returns
- the requested font descriptor
Definition at line 101 of file CPFontDescriptor.j.
◆ fontDescriptorWithName:size:()
Returns a font descriptor with the specified name and size.
- Parameters
-
fontName | the name of the font |
aSize | the size of the font (in points) |
- Returns
- the requested font descriptor
Definition at line 113 of file CPFontDescriptor.j.
◆ fontDescriptorWithSize:()
Returns a new font descriptor that is the same as the receiver but with the specified size taking precedence over the existing ones.
- Parameters
-
- Returns
- the new font descriptor
Definition at line 159 of file CPFontDescriptor.j.
◆ fontDescriptorWithSymbolicTraits:()
- (CPFontDescriptor) fontDescriptorWithSymbolicTraits: |
|
(CPFontSymbolicTraits) |
symbolicTraits |
|
|
implementation |
Returns a new font descriptor that is the same as the receiver but with the specified symbolic traits taking precedence over the existing ones.
- Parameters
-
symbolicTraits | the desired new symbolic traits |
- Returns
- the new font descriptor
Definition at line 175 of file CPFontDescriptor.j.
◆ fontFamilyCSSString()
◆ fontSizeCSSString()
◆ fontStyleCSSString()
◆ fontVariantCSSString()
◆ fontWeightCSSString()
◆ initWithCoder:()
- (id) initWithCoder: |
|
(CPCoder) |
aCoder |
|
|
implementation |
Initializes the font descriptor from a coder.
- Parameters
-
aCoder | the coder from which to read the font descriptor data |
- Returns
- the initialized font
Provided by category CPFontDescriptor(CPCoding).
Definition at line 225 of file CPFontDescriptor.j.
◆ initWithFontAttributes:()
Initialize a font descriptor with the specified attributes.
- Parameters
-
attributes | a dictionary that describe the desired font descriptor |
- Returns
- the requested font descriptor
Definition at line 124 of file CPFontDescriptor.j.
◆ objectForKey:()
- (id) objectForKey: |
|
(id) |
aKey |
|
|
implementation |
◆ pointSize()
◆ symbolicTraits()
- (CPFontSymbolicTraits) symbolicTraits |
|
|
|
|
implementation |
The documentation for this class was generated from the following files: