public static class Shape


Class holding corner shapes as defined by the Wear Material3 shape specification.

Summary

Constants

static final int

An extra large rounded corner shape.

static final int

An extra small rounded corner shape.

static final int

A fully rounded corner shape.

static final int

A large rounded corner shape.

static final int

A medium rounded corner shape.

static final int

A non-rounded corner shape

static final int

A small rounded corner shape.

Public fields

static @NonNull Shape

Constants

CORNER_EXTRA_LARGE

Added in 1.3.0-alpha02
public static final int CORNER_EXTRA_LARGE = 0

An extra large rounded corner shape.

CORNER_EXTRA_SMALL

Added in 1.3.0-alpha02
public static final int CORNER_EXTRA_SMALL = 1

An extra small rounded corner shape.

CORNER_FULL

Added in 1.3.0-alpha02
public static final int CORNER_FULL = 2

A fully rounded corner shape.

CORNER_LARGE

Added in 1.3.0-alpha02
public static final int CORNER_LARGE = 3

A large rounded corner shape.

CORNER_MEDIUM

Added in 1.3.0-alpha02
public static final int CORNER_MEDIUM = 4

A medium rounded corner shape.

CORNER_NONE

Added in 1.3.0-alpha02
public static final int CORNER_NONE = 5

A non-rounded corner shape

CORNER_SMALL

Added in 1.3.0-alpha02
public static final int CORNER_SMALL = 6

A small rounded corner shape.

Public fields

INSTANCE

Added in 1.3.0-alpha02
public static @NonNull Shape INSTANCE