CornerFamily

public abstract @interface CornerFamily
implements Annotation

com.google.android.material.shape.CornerFamily


CornerFamily enum that holds which family to be used to create a CornerTreatment

The corner family determines which family to use to create a CornerTreatment. Setting the CornerFamily to ROUNDED sets the corner treatment to RoundedCornerTreatment, and setting the CornerFamily to CUT sets the corner treatment to a CutCornerTreatment.

Summary

Constants

int CUT

Corresponds to a CutCornerTreatment.

int ROUNDED

Corresponds to a RoundedCornerTreatment.

Inherited methods

From interface java.lang.annotation.Annotation

Constants

CUT

int CUT

Corresponds to a CutCornerTreatment.

Constant Value: 1 (0x00000001)

ROUNDED

int ROUNDED

Corresponds to a RoundedCornerTreatment.

Constant Value: 0 (0x00000000)