|
DrawKit
Vector and illustration framework for Mac OS X
|
This adds text attributes to the DKStyle object. More...
Instance Methods | |
| (NSString *) | - actionNameForTextAttribute: |
| (void) | - adoptFromText: |
| (NSTextAlignment) | - alignment |
| (void) | - applyToText: |
| (void) | - changeTextAttribute:toValue: |
| (DKStyle *) | - drawingStyleFromTextAttributes |
| (NSFont *) | - font |
| (CGFloat) | - fontSize |
| (NSParagraphStyle *) | - paragraphStyle |
| (void) | - setAlignment: |
| (void) | - setFont: |
| (void) | - setFontSize: |
| (void) | - setParagraphStyle: |
| (void) | - setTextColour: |
| (void) | - setUnderlined: |
| (NSColor *) | - textColour |
| (void) | - toggleUnderlined |
| (NSInteger) | - underlined |
Class Methods | |
| (DKStyle *) | + defaultTextStyle |
| (NSString *) | + styleNameForFont: |
| Returns the name and size of the font in a form that can be used as a style name. More... | |
| (DKStyle *) | + textStyleWithFont: |
This adds text attributes to the DKStyle object.
This adds text attributes to the DKStyle object. A DKTextShape makes use of styles with attached text attributes to style the text it displays. Other objects that use text can make use of this as they wish.
| - (void) adoptFromText: | (NSAttributedString *) | text |
Extends class DKStyle.
| - (NSTextAlignment) alignment |
Extends class DKStyle.
| - (void) applyToText: | (NSMutableAttributedString *) | text |
Extends class DKStyle.
| - (NSFont*) font |
Extends class DKStyle.
| - (NSParagraphStyle*) paragraphStyle |
Extends class DKStyle.
| - (void) setAlignment: | (NSTextAlignment) | align |
Extends class DKStyle.
| - (void) setFont: | (NSFont *) | font |
Extends class DKStyle.
| - (void) setParagraphStyle: | (NSParagraphStyle *) | style |
Extends class DKStyle.
| + (NSString*) styleNameForFont: | (NSFont *) | font |
Returns the name and size of the font in a form that can be used as a style name.
| font | a font |
Extends class DKStyle.
| - (void) toggleUnderlined |
Extends class DKStyle.
1.8.9.1