Struct MaterialColor
- Namespace
- Glitch9.MaterialDesign
[Serializable]
public struct MaterialColor
- Inherited Members
- Extension Methods
Fields
bright
public Color bright
Field Value
- Color
color
The base color
public Color color
Field Value
- Color
container
Standout fill color against surface(background), for key components like FAB
public Color container
Field Value
- Color
dim
public Color dim
Field Value
- Color
onColor
Text and icons against base color
public Color onColor
Field Value
- Color
onContainer
Text and icons against container
public Color onContainer
Field Value
- Color
onVariant
public Color onVariant
Field Value
- Color
role
public ColorRole role
Field Value
variant
public Color variant
Field Value
- Color
Methods
Create(ColorRole)
public static MaterialColor Create(ColorRole role)
Parameters
roleColorRole
Returns
GetColor(ColorRole, ColorType)
public static Color GetColor(ColorRole role, ColorType type)
Parameters
Returns
- Color
GetColor(ColorType)
public readonly Color GetColor(ColorType type)
Parameters
typeColorType
Returns
- Color