fontlab_glyport.drawing.cocoa_drawing.NSAttributedString
NSAttributedString
A string with NSFont/NSColor attributes; draws upright in any CTM.
Source bases
Inherited member index
Source-proven inherited members; local declarations override these entries.
addObserver_forKeyPath_options_context_— defined byfontlab_glyport.ui.cocoa.NSObject.addObserver_forKeyPath_options_context_alloc— defined byfontlab_glyport.ui.cocoa.NSObject.allocdidChangeValueForKey_— defined byfontlab_glyport.ui.cocoa.NSObject.didChangeValueForKey_init— defined byfontlab_glyport.ui.cocoa.NSObject.initnew— defined byfontlab_glyport.ui.cocoa.NSObject.newremoveObserver_forKeyPath_— defined byfontlab_glyport.ui.cocoa.NSObject.removeObserver_forKeyPath_respondsToSelector_— defined byfontlab_glyport.ui.cocoa.NSObject.respondsToSelector_setValue_forKeyPath_— defined byfontlab_glyport.ui.cocoa.NSObject.setValue_forKeyPath_setValue_forKey_— defined byfontlab_glyport.ui.cocoa.NSObject.setValue_forKey_valueForKeyPath_— defined byfontlab_glyport.ui.cocoa.NSObject.valueForKeyPath_valueForKey_— defined byfontlab_glyport.ui.cocoa.NSObject.valueForKey_willChangeValueForKey_— defined byfontlab_glyport.ui.cocoa.NSObject.willChangeValueForKey_
Complete member index
Every captured member retains its own identity. Identical captured declaration text is linked once; this does not establish native inheritance or interchangeable objects.
| Member | Kind | Signature | Summary |
|---|---|---|---|
drawAtPoint_ |
function | (self, point) -> None |
|
drawAtPoint_alignment_ |
function | (self, point, alignment) -> None |
Glyphs' alignment codes: 0-2 bottom, 3-5 middle, 6-8 top; left/centre/right. |
initWithString_ |
function | (self, text) |
|
initWithString_attributes_ |
function | (self, text, attributes) |
|
length |
function | (self) -> int |
|
size |
function | (self) |
|
string |
function | (self) -> str |