M2ObjectView Class Reference
Inherits from | NSView |
Declared in | M2ObjectView.h M2ObjectView.m |
Tasks
Hierarchy
-
canvasView
Reference back to parent canvas view
property
Model
-
object
Represented model
property
Dragging & Resizing
-
resizeHandle
Reference to resize handle object
property -
isDragging
Boolean indicating whether object is currently being dragged
property -
isResizing
Boolean indicating whether object is currently being resized
property -
mouseDownLocation
Point of last location in the window, where mouse down event was received. Used for computing new position/size when dragging or resizing.
property -
mouseDownFrame
Frame of view when last mouse down event was received. Used for computing new frame when dragging or resizing.
property
Selection
-
isSelected
Boolean value indicating whether receiver is currentl selected.
property -
– deselect
Deselects receiver.
-
– makeSelected
Selects receiver.
Rotation
-
rotation
Rotation of receiver in degrees.
property
Flipping
-
isFlippedVertically
Boolean value indicating whether receiver is currently flipped vertically.
property -
isFlippedHorizontally
Boolean value indicating whether receiver is currently flipped horizontally.
property
Properties
canvasView
Reference back to parent canvas view
@property (assign) M2CanvasView *canvasView
Discussion
Reference back to parent canvas view
Declared In
M2ObjectView.h
isDragging
Boolean indicating whether object is currently being dragged
@property (assign) BOOL isDragging
Discussion
Boolean indicating whether object is currently being dragged
Declared In
M2ObjectView.h
isFlippedHorizontally
Boolean value indicating whether receiver is currently flipped horizontally.
@property (assign) BOOL isFlippedHorizontally
Discussion
Boolean value indicating whether receiver is currently flipped horizontally.
Declared In
M2ObjectView.h
isFlippedVertically
Boolean value indicating whether receiver is currently flipped vertically.
@property (assign) BOOL isFlippedVertically
Discussion
Boolean value indicating whether receiver is currently flipped vertically.
Declared In
M2ObjectView.h
isResizing
Boolean indicating whether object is currently being resized
@property (assign) BOOL isResizing
Discussion
Boolean indicating whether object is currently being resized
Declared In
M2ObjectView.h
isSelected
Boolean value indicating whether receiver is currentl selected.
@property (assign) BOOL isSelected
Discussion
Boolean value indicating whether receiver is currentl selected.
Declared In
M2ObjectView.h
mouseDownFrame
Frame of view when last mouse down event was received. Used for computing new frame when dragging or resizing.
@property (assign) NSRect mouseDownFrame
Discussion
Frame of view when last mouse down event was received. Used for computing new frame when dragging or resizing.
Declared In
M2ObjectView.h
mouseDownLocation
Point of last location in the window, where mouse down event was received. Used for computing new position/size when dragging or resizing.
@property (assign) NSPoint mouseDownLocation
Discussion
Point of last location in the window, where mouse down event was received. Used for computing new position/size when dragging or resizing.
Declared In
M2ObjectView.h
object
Represented model
@property (retain) M2Object *object
Discussion
Represented model
Declared In
M2ObjectView.h