StarRater

constructor(max: Int = 5, displayRounded: Float = 0.0f, pathMetrics: PathMetrics? = null)(source)

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