The ImageView is a View subclass that represents Cocoa’s NSImageView.
Parameters: |
|
---|
String. The name of the image that will be loaded on initialization. That image is loaded with [self setImage:[NSImage imageNamed:<name>]].
Cocoa constant. Image alignment within the view. Equivalent to [self imageAlignment]. Use with NSImageAlignment constants.