JubeatPlus 3.9.11
Loading...
Searching...
No Matches
BalloonView.h
Go to the documentation of this file.
1
11
12#import <UIKit/UIKit.h>
13
14NS_ASSUME_NONNULL_BEGIN
15
29
33@interface BalloonView : UIView
34
47@property(nonatomic) CGFloat arrowPosision;
53@property(nonatomic) CGSize arrowSize;
55@property(nonatomic, strong) UIColor *balloonColor;
57@property(nonatomic, strong) UIColor *borderColor;
59@property(nonatomic) CGFloat borderRadius;
66@property(nonatomic) CGFloat borderWidth;
68@property(nonatomic) UIEdgeInsets contentEdgeInsets;
69
77@property(nonatomic, readonly) CGRect contentRect;
78
79@end
80
81NS_ASSUME_NONNULL_END
82
83// code: language=Objective-C
84// kate: hl Objective-C;
85// vim: set ft=objc :
BalloonViewArrowDirection
Which edge of the balloon carries the arrow.
Definition BalloonView.h:23
@ BalloonViewArrowDirectionUp
Above the top edge; the balloon points upwards.
Definition BalloonView.h:24
@ BalloonViewArrowDirectionDown
Below the bottom edge.
Definition BalloonView.h:25
@ BalloonViewArrowDirectionRight
Right of the trailing edge.
Definition BalloonView.h:27
@ BalloonViewArrowDirectionLeft
Left of the leading edge.
Definition BalloonView.h:26
A speech balloon: a rounded rectangle with one triangular arrow.
Definition BalloonView.h:34
UIColor * balloonColor
The balloon's fill.
Definition BalloonView.h:55
UIColor * borderColor
The outline's colour.
Definition BalloonView.h:57
CGRect contentRect
The rectangle a caller may lay content out in.
Definition BalloonView.m:40
CGFloat borderWidth
The outline's width.
Definition BalloonView.h:66
CGSize arrowSize
The arrow's base width and its height measured outwards from the edge.
Definition BalloonView.h:53
BalloonViewArrowDirection arrowDirection
The edge the arrow sits on.
Definition BalloonView.h:40
CGFloat arrowPosision
How far along its edge the arrow's centre sits, in points from the leading edge.
Definition BalloonView.h:47
CGFloat borderRadius
The corner radius.
Definition BalloonView.h:59
UIEdgeInsets contentEdgeInsets
Padding between the balloon's inner edge and contentRect.
Definition BalloonView.h:68