Re: Setting the opacity of a line
Re: Setting the opacity of a line
- Subject: Re: Setting the opacity of a line
- From: Moray Taylor <email@hidden>
- Date: Sat, 29 Jan 2005 18:04:42 +0000
It's the NSColor that defines opacity, you can create a
semi-transparent color by altering the alpha argument of the following
method (and other methods)
+ (NSColor *)colorWithDeviceRed:(float)red green:(float)green
blue:(float)blue alpha:(float)alpha
Moray
Hello to all,
I've an NSView and I'm using the drawRect method to draw inside this
view. I'd like to reduce the opacity of some (not all) of the shapes
designed here.
NSBezierPath doesn't have a setOpacity method. How can I handle this?
Thanks in advance,
Luca.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden