     // MARK: -
     // MARK: Private property.
     
+    private var rateFaceMargin: CGFloat = 1
     private var touchPoint: CGPoint? = nil
     private var hueFrom: CGFloat = 0, saturationFrom: CGFloat = 0, brightnessFrom: CGFloat = 0, alphaFrom: CGFloat = 0
     private var hueDelta: CGFloat = 0, saturationDelta: CGFloat = 0, brightnessDelta: CGFloat = 0, alphaDelta: CGFloat = 0


@IBDesignable
public class EmojiRateView: UIView {
    /// Margin between face and view.
    private static let rateFaceMargin: CGFloat = 12
    
    /// Rate default color for rateValue = 5
    private static let rateLineColorBest: UIColor = UIColor.init(hue: 165 / 360, saturation: 0.8, brightness: 0.9, alpha: 1.0)
    

            if rateLineWidth > 20 {
                rateLineWidth = 20
            }
            if rateLineWidth < 0.5 {
                rateLineWidth = 0.5
            }
            self.rateFaceMargin = rateLineWidth / 2
            self.setNeedsDisplay()
        }
    }
