Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Rounded rectangle NSBezierPath category written in Objective-C
Objective-C
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
NSBezierPath+UFRoundedRect.h
README.md

README.md

NSBezierPath+UFRoundedRect.h

NSBezierPath+UFRoundedRect.h is an Objective-C category for drawing a rounded rectangle with the ability to specify a radius for each corner.

Installing

Run git://github.com/remear/UFRoundedRect.git Copy NSBezierPath+UFRoundedRect.h to your Xcode project

Usage

Add #import "NSBezierPath+UFRoundedRect.h". Typically this is done in an NSView subclass

Call NSBezierPath *roundedRect = [NSBezierPath fourCornerRadiusRect:dirtyRect tLRadius:8.0 tRRadius:8.0 bLRadius:8.0 bRRadius:8.0];

Something went wrong with that request. Please try again.