From 2273c18f30f729facb64592475003c9f31fe8d1a Mon Sep 17 00:00:00 2001 From: Jason Wolkovitz Date: Fri, 20 Dec 2019 12:25:17 -0500 Subject: [PATCH] Allow change in star shape programmatically --- HCSStarRatingView/HCSStarRatingView.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/HCSStarRatingView/HCSStarRatingView.h b/HCSStarRatingView/HCSStarRatingView.h index 04e483b..a22f014 100644 --- a/HCSStarRatingView/HCSStarRatingView.h +++ b/HCSStarRatingView/HCSStarRatingView.h @@ -47,5 +47,8 @@ IB_DESIGNABLE @property (nonatomic, strong) IBInspectable UIImage *emptyStarImage; @property (nonatomic, strong) IBInspectable UIImage *halfStarImage; @property (nonatomic, strong) IBInspectable UIImage *filledStarImage; + +- (void)_drawAccurateHalfStarShapeWithFrame:(CGRect)frame tintColor:(UIColor *)tintColor progress:(CGFloat)progress; + @end