Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
46 lines (30 sloc) 1.21 KB
//
// PSBaseLeafView.h
// PSTreeGraphView
//
// Created by Ed Preston on 7/25/10.
// Copyright 2010 Preston Software. All rights reserved.
//
//
// This is a port of the sample code from Max OS X to iOS (iPad).
//
// WWDC 2010 Session 141, “Crafting Custom Cocoa Views”
//
#import <UIKit/UIKit.h>
/// Draws background fill and a stroked, optionally rounded rectangular shape. This is meant
/// to be a subclass for project specific node views loaded from a nib file.
@interface PSBaseLeafView : UIView
#pragma mark - Styling
/// The color of the ContainerView's stroked border.
@property (nonatomic, retain) UIColor *borderColor;
/// The width of the ContainerView's stroked border. May be zero.
@property (nonatomic, assign) CGFloat borderWidth;
/// The radius of the ContainerView's rounded corners. May be zero.
@property (nonatomic, assign) CGFloat cornerRadius;
/// The fill color for the ContainerView's interior.
@property (nonatomic, retain) UIColor *fillColor;
/// The fill color for the ContainerView's interior when selected.
@property (nonatomic, retain) UIColor *selectionColor;
#pragma mark - Selection State
@property (nonatomic, assign, getter=isShowingSelected) BOOL showingSelected;
@end
Something went wrong with that request. Please try again.