#import <CPImageView.h>
Class Methods | |
(void) | + initialize |
![]() | |
(CPDictionary) | + themeAttributes |
![]() | |
(CPMenu) | + defaultMenu |
(CPString) | + defaultThemeClass |
(BOOL) | + isHighDPIDrawingEnabled |
(CPSet) | + keyPathsForValuesAffectingBounds |
(CPSet) | + keyPathsForValuesAffectingFrame |
(void) | + setHighDPIDrawingEnabled: |
This class is a control that displays an image.
Definition at line 2 of file CPImageView.h.
|
implementation |
Writes the image view out to the coder.
aCoder | the coder to which the image view will be written |
Reimplemented from CPControl.
Provided by category CPImageView(CPCoding).
Definition at line 557 of file CPImageView.j.
|
implementation |
Returns YES
if the image view draws with a drop shadow. The default is NO
.
Definition at line 188 of file CPImageView.j.
|
implementation |
Toggles the display of the image view.
Definition at line 275 of file CPImageView.j.
|
implementation |
Returns the view's image.
Definition at line 120 of file CPImageView.j.
|
implementation |
Definition at line 242 of file CPImageView.j.
|
implementation |
Definition at line 175 of file CPImageView.j.
|
implementation |
Returns the view's image rectangle
Definition at line 296 of file CPImageView.j.
|
implementation |
Returns the image scaling of the control.
Reimplemented from CPControl.
Definition at line 267 of file CPImageView.j.
|
implementation |
Reimplemented from CPControl.
Definition at line 59 of file CPImageView.j.
|
implementation |
Initializes the image view with the provided coder.
aCoder | the coder from which data will be read. |
Reimplemented from CPControl.
Provided by category CPImageView(CPCoding).
Definition at line 529 of file CPImageView.j.
|
implementation |
Initializes the receiver for usage with the specified bounding rectangle
Reimplemented from CPControl.
Definition at line 79 of file CPImageView.j.
|
implementation |
Definition at line 449 of file CPImageView.j.
|
implementation |
|
implementation |
Notifies the receiver that the user has clicked the mouse down in its area.
anEvent | contains information about the click |
Reimplemented from CPControl.
Definition at line 421 of file CPImageView.j.
|
implementation |
Definition at line 454 of file CPImageView.j.
|
implementation |
Definition at line 427 of file CPImageView.j.
|
implementation |
Sets whether the image view should draw with a drop shadow.
shouldHaveShadow | whether the image view should have a shadow |
Definition at line 197 of file CPImageView.j.
|
implementation |
Definition at line 125 of file CPImageView.j.
|
implementation |
Sets the type of image alignment that should be used to render the image.
anImageAlignment | the type of scaling to use |
Definition at line 228 of file CPImageView.j.
|
implementation |
Sets the type of image scaling that should be used to render the image.
anImageScaling | the type of scaling to use |
Reimplemented from CPControl.
Definition at line 252 of file CPImageView.j.
|
implementation |
Definition at line 131 of file CPImageView.j.