fontlab_glyport.ui.images.NSImage
NSImage
A file-backed image; image_class(qt, resources) binds Qt and lookup.
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 |
|---|---|---|---|
icon |
function | (self) -> Any |
A <code>QIcon</code> with 1x and 2x pixmaps. |
image |
function | (self, scale: float=1.0) -> Any |
A <code>QImage</code><code> of </code><code>size() * scale</code><code> pixels, devicePixelRatio </code><code>scale</code>. |
imageNamed_ |
function | (cls, name) |
|
initWithContentsOfFile_ |
function | (self, path) |
|
isTemplate |
function | (self) -> bool |
|
path |
function | (self) -> str |
|
pixmap |
function | (self, scale: float=1.0) -> Any |
|
setSize_ |
function | (self, size) -> None |
|
setTemplate_ |
function | (self, flag) -> None |
|
size |
function | (self) -> NSSize |