EDCanvas


Inherits From:
NSView
Declared In:
EDCanvas.h


Class Description

This view simply fills its entire bounds with the color specified. It can also draw a bezel but this functionality is obsoleted by the Aqua design guidelines.


Instance Variables

NSColor *color;
BOOL drawsBezel;

colorNo description.
drawsBezelNo description.


Method Types

Changing the canvas' appearance
- setColor:
- color
- setDrawsBezel:
- drawsBezel

Instance Methods

color

- (NSColor *)color

Returns the receiver's color.


drawsBezel

- (BOOL)drawsBezel

Returns whether the receiver draws a gray bezel along its bounds.


setColor:

- (void)setColor:(NSColor *)aColor

Sets the receiver's color to aColor and redraws it if neccessary.


setDrawsBezel:

- (void)setDrawsBezel:(BOOL)flag

If set to YES the receiver draws a gray bezel along its bounds, if NO it just fills its bounds with the color.


Version 2.0 Copyright ©2002 by Erik Doernenburg. All Rights Reserved.