ClampedCornerSize

A CornerSize that takes a desired absolute corner size and clamps the value to be no larger than half the length of the shortest edge (fully rounded/cut).

Constructors

Link copied to clipboard
constructor(target: Float)

Functions

Link copied to clipboard
open fun equals(o: Any): Boolean
Link copied to clipboard
open fun getCornerSize(@NonNull bounds: RectF): Float
Returns the corner size that should be used given the full bounds of the shape.
Link copied to clipboard
open fun hashCode(): Int