CornerSize

public interface CornerSize

com.google.android.material.shape.CornerSize


Allows clients to describe the size of a corner independently from a CornerTreatment.

Summary

Public methods

abstract float getCornerSize(RectF bounds)

Returns the corner size that should be used given the full bounds of the shape.

Public methods

getCornerSize

public abstract float getCornerSize (RectF bounds)

Returns the corner size that should be used given the full bounds of the shape.

Parameters
bounds RectF

Returns
float