This repository has been archived by the owner. It is now read-only.
Permalink
Newer
Older
100644 24 lines (19 sloc) 598 Bytes
1
//
2
// RBLResizableImage.h
3
// Rebel
4
//
5
// Created by Justin Spahr-Summers on 2012-07-24.
6
// Copyright (c) 2012 GitHub. All rights reserved.
7
//
8
// Portions copyright (c) 2011 Twitter. All rights reserved.
9
// See the LICENSE file for more information.
10
//
14
// An image that supports resizing based on end caps.
15
@interface RBLResizableImage : NSImage <NSCoding, NSCopying>
16
17
// The end cap insets for the image.
18
//
19
// Any portion of the image not covered by end caps will be tiled when the image
20
// is drawn.
21
@property (nonatomic, assign) NSEdgeInsets rbl_capInsets;