Google 致力于为黑人社区推动种族平等。查看具体举措

CornerSize

public interface CornerSize

com.google.android.material.shape.CornerSize
Known Indirect Subclasses


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

float getCornerSize (RectF bounds)

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

Parameters
bounds RectF

Returns
float