StarRater
Parameters
max
value the rating can have
displayRounded
rounds the displayed value to the nearest decimal. 0
means no rounding, 0.5
rounds to the nearest half.
pathMetrics
that helps get a more accurate size of the stars when their tips are rounded