You could either use a path or a pair of rectangles to clip drawing and test 
for events such as a mouseDown or tap. You'll need to calculate the dimensions 
based on the current size of the view.


On May 4, 2011, at 8:21 AM, Vyacheslav Karamov wrote:

> Yes, I understand, I meant want to know how to restrict drawing and 
> responding to events to L-shaped area.
> 
> 04-May-11 17:38, Steve Christensen пишет:
>> All views are rectangular in shape. You can restrict drawing and responding 
>> to events to an L-shaped area, but the view itself will still be a rectangle.
>> 
>> 
>> On May 4, 2011, at 6:41 AM, Vyacheslav Karamov wrote:
>> 
>>> I need to make custom view in the form of letter L. How to do it?

_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to