Does strokeRect: of NSBezierPath always draw a transparent rect? (Cocoa OSX)

Posted by Michael Minerva on Stack Overflow See other posts from Stack Overflow or by Michael Minerva
Published on 2010-04-02T17:55:33Z Indexed on 2010/04/02 21:33 UTC
Read the original article Hit count: 141

Filed under:
|
|

I am trying to make a custom selection box for an image view I created and I am trying to use strokeRect: from NSBezierPath but it always seems to be transparent. Called the method set to set the color the blackColor and then also tried using olorWithDeviceRed:green:blue:alpha: but no matter what I have tried the rectangle created always seems to be transparent. Is there a better method to use to draw an empty rectangle?

© Stack Overflow or respective owner

Related posts about cocoa

Related posts about osx