Uses of Class
ca.cgjennings.ui.theme.Palette.Subset
-
Packages that use Palette.Subset Package Description ca.cgjennings.ui.theme -
-
Uses of Palette.Subset in ca.cgjennings.ui.theme
Fields in ca.cgjennings.ui.theme declared as Palette.Subset Modifier and Type Field Description Palette.Subset
Palette. background
Either the light or dark subset, chosen to contrast with the foreground based on the theme.Palette.Subset
Palette. dark
The dark subset of the palette.Palette.Subset
Palette. foreground
Either the light or dark subset, chosen to contrast with the background based on the theme.Palette.Subset
Palette. light
The light subset of the palette.Palette.Subset
Palette. pastel
The pastel subset of the palette.Methods in ca.cgjennings.ui.theme that return Palette.Subset Modifier and Type Method Description Palette.Subset
Palette. contrasting(int rgb)
Returns either the light or dark palette subset, whichever will contrast best with the specified colour.Palette.Subset
Palette. contrasting(java.awt.Component c)
Returns either the light or dark palette subset, whichever will contrast best with the specified background.Palette.Subset
Palette. harmonizing(int rgb)
Returns either the light or dark palette subset, whichever will harmonize best with the specified colour.Palette.Subset
Palette. harmonizing(java.awt.Component c)
Returns either the light or dark palette subset, whichever will harmonize best with the specified background.
-