FoundationExtension
FoundationExtension is common Foundation/UIKit/Cocoa shortcuts and snippets collection.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages
NSImage(NSDrawNinePartImage) Category Reference

NSDrawNinePartImage convinient methods. More...

#import <NSImage.h>

Instance Methods

(void) - drawNinePartImageInRect:capInsets:
 Draws nine part image with given cap insets. More...
 
(NSImage *) - ninePartImageWithSize:capInsets:
 Creates and returns nine part image with given cap insets. More...
 

Detailed Description

NSDrawNinePartImage convinient methods.

Method Documentation

- (void) drawNinePartImageInRect: (NSRect)  toRect
capInsets: (NSEdgeInsets)  capInsets 

Draws nine part image with given cap insets.

See also
NSDrawNinePartImage for the implementation and UIImage resizableImageWithCapInsets: for the cap insets.
- (NSImage*) ninePartImageWithSize: (NSSize)  size
capInsets: (NSEdgeInsets)  capInsets 

Creates and returns nine part image with given cap insets.

See also
NSDrawNinePartImage for the implementation and UIImage resizableImageWithCapInsets: for the cap insets.

The documentation for this category was generated from the following file: