TinyMaterialDesign
Loading...
Searching...
No Matches
Public Attributes | List of all members
ShapeTokens Struct Reference

Material 3 shape-scale corner radii, in pixels. More...

#include <MaterialTheme.h>

Public Attributes

int32_t small = 4
 
int32_t medium = 8
 
int32_t large = 16
 
int32_t full = 1000
 

Detailed Description

Material 3 shape-scale corner radii, in pixels.

Member Data Documentation

◆ full

int32_t full = 1000

"Fully rounded" (pills, circular thumbs) - callers pass this straight into fillRoundRect()/drawRoundRect(), which clamp it to min(w,h)/2, so any generously-large constant works regardless of the widget's size.

◆ large

int32_t large = 16

◆ medium

int32_t medium = 8

◆ small

int32_t small = 4

The documentation for this struct was generated from the following file: