FoundationExtension
FoundationExtension is common Foundation/UIKit/Cocoa shortcuts and snippets collection.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages
UIASegmentedImageView.h
Go to the documentation of this file.
1 //
2 // UIASegmentedImageView.h
3 // FoundationExtension
4 //
5 // Created by Jeong YunWon on 13. 6. 16..
6 // Copyright (c) 2013 youknowone.org. All rights reserved.
7 //
8 
9 #import <UIKit/UIKit.h>
10 
11 @interface UIASegmentedImageView : UIImageView
12 
13 @property(nonatomic, strong) UIImage *centerImage;
14 
15 @property(nonatomic, strong) UIImage *topImage;
16 @property(nonatomic, strong) UIImage *bottomImage;
17 @property(nonatomic, strong) UIImage *leftImage;
18 @property(nonatomic, strong) UIImage *rightImage;
19 
20 @property(nonatomic, strong) UIImage *topLeftImage;
21 @property(nonatomic, strong) UIImage *topRightImage;
22 @property(nonatomic, strong) UIImage *bottomLeftImage;
23 @property(nonatomic, strong) UIImage *bottomRightImage;
24 
25 @property(nonatomic, assign) BOOL autosizing;
26 
27 @property(nonatomic, assign) CGFloat topMargin, bottomMargin, leftMargin, rightMargin;
28 
29 - (instancetype)initWithCenterImage:(UIImage *)image;
30 //- (instancetype)initWithCenterImage:(UIImage *)image highlightedImage:(UIImage *)highlightedImage;
31 
32 - (instancetype)initWithTopImage:(UIImage *)topImage centerImage:(UIImage *)centerImage bottomImage:(UIImage *)bottomImage;
33 - (instancetype)initWithLeftImage:(UIImage *)leftImage centerImage:(UIImage *)centerImage rightImage:(UIImage *)rightImage;
34 
35 - (void)arrange;
36 
37 @end
UIImage * bottomImage
Definition: UIASegmentedImageView.h:16
CGFloat rightMargin
Definition: UIASegmentedImageView.h:27
CGFloat leftMargin
Definition: UIASegmentedImageView.h:27
UIImage * bottomLeftImage
Definition: UIASegmentedImageView.h:22
UIImage * topRightImage
Definition: UIASegmentedImageView.h:21
UIImage * bottomRightImage
Definition: UIASegmentedImageView.h:23
Definition: UIASegmentedImageView.h:11
CGFloat bottomMargin
Definition: UIASegmentedImageView.h:27
UIImage * topLeftImage
Definition: UIASegmentedImageView.h:20
BOOL autosizing
Definition: UIASegmentedImageView.h:25
UIImage * rightImage
Definition: UIASegmentedImageView.h:18
UIImage * centerImage
Definition: UIASegmentedImageView.h:13
UIImage * topImage
Definition: UIASegmentedImageView.h:15
UIImage * leftImage
Definition: UIASegmentedImageView.h:17
CGFloat topMargin
Definition: UIASegmentedImageView.h:27