API reference

Shapes Interface

Semantic component shapes.

Signature

@Immutable interface Shapes

Properties

button : Shape
[Get]
standard push-button shape
Signature
abstract val button: Shape
buttonTile : Shape
[Get]
selectable shelf and text-tile shape
Signature
abstract val buttonTile: Shape
card : Shape
[Get]
grouped-content shape
Signature
abstract val card: Shape
control : Shape
[Get]
checkbox artwork shape
Signature
abstract val control: Shape
dialog : Shape
[Get]
modal container shape
Signature
abstract val dialog: Shape
menu : Shape
[Get]
popup menu shape
Signature
abstract val menu: Shape
menuItem : Shape
[Get]
row shape inside menus and choice lists
Signature
abstract val menuItem: Shape
pill : Shape
[Get]
fully rounded shape for switches and compact controls
Signature
abstract val pill: Shape
textField : Shape
[Get]
text and search field shape
Signature
abstract val textField: Shape
tooltip : Shape
[Get]
tooltip bubble shape
Signature
abstract val tooltip: Shape

Extension Functions

copy ( button , buttonTile , card , control , dialog , menu , menuItem , textField , tooltip , pill )
Copies a Shapes implementation with focused role overrides.
Signature
fun Shapes.copy(
    button: Shape = this.button,
    buttonTile: Shape = this.buttonTile,
    card: Shape = this.card,
    control: Shape = this.control,
    dialog: Shape = this.dialog,
    menu: Shape = this.menu,
    menuItem: Shape = this.menuItem,
    textField: Shape = this.textField,
    tooltip: Shape = this.tooltip,
    pill: Shape = this.pill,
): Shapes
Extension declared in metavrx.uiset.compose.theme
Parameters
button: Shape  standard push-button shape
buttonTile: Shape  selectable shelf and text-tile shape
card: Shape  grouped-content shape
control: Shape  checkbox artwork shape
dialog: Shape  modal container shape
menu: Shape  popup menu shape
menuItem: Shape  row shape inside menus and choice lists
textField: Shape  text and search field shape
tooltip: Shape  tooltip bubble shape
pill: Shape  fully rounded shape
Returns
Shapes