BadgeShape

@Immutable
interface BadgeShape : Shape

A shape used to draw badges. Badge shapes have a clear area surrounding them, whose outline is determined by createHoleOutline.

See also

Inheritors

Functions

Link copied to clipboard
abstract fun createHoleOutline(size: Size, layoutDirection: LayoutDirection, density: Density): Outline

Create the outline of the clear area (or "hole") surrounding this badge shape.

Link copied to clipboard
abstract fun createOutline(size: Size, layoutDirection: LayoutDirection, density: Density): Outline