| - (id) initWithParentView: |
|
(UIView *) |
parentView |
| alignment: |
|
(JSBadgeViewAlignment) |
alignment |
|
|
| |
Optionally init using this method to have the badge automatically added to another view.
| - (UIColor* badgeOverlayColor) UI_APPEARANCE_SELECTOR |
|
readwritenonatomicstrong |
Color of the overlay circle at the top. Default is semi-transparent white.
| - (UIColor* badgeShadowColor) UI_APPEARANCE_SELECTOR |
|
readwritenonatomicstrong |
Color of the badge shadow. Default is semi-transparent black.
| - (CGSize badgeShadowSize) UI_APPEARANCE_SELECTOR |
|
readwritenonatomicassign |
Offset of the badge shadow. Default is 3.0 points down.
| - (CGFloat badgeStrokeWidth) UI_APPEARANCE_SELECTOR |
|
readwritenonatomicassign |
Width of the circle around the badge. Default is 2.0 points.
| - (UIColor* badgeStrokeColor) UI_APPEARANCE_SELECTOR |
|
readwritenonatomicstrong |
Color of the circle around the badge. Default is white.
| - (CGPoint badgePositionAdjustment) UI_APPEARANCE_SELECTOR |
|
readwritenonatomicassign |
Allows to shift the badge by x and y points.
| - (CGRect frameToPositionInRelationWith) UI_APPEARANCE_SELECTOR |
|
readwritenonatomicassign |
You can use this to position the view if you're drawing it using drawRect instead of -addSubview: (optional) If not provided, the superview frame is used.
| - (CGFloat badgeMinWidth) UI_APPEARANCE_SELECTOR |
|
readwritenonatomicassign |
The minimum width of a badge circle. We need this to avoid elipse shapes when using small fonts.
The documentation for this class was generated from the following files:
- Vendors/JSBadgeView/JSBadgeView.h
- Vendors/JSBadgeView/JSBadgeView.m