Modifier.Foreground
ModifierProduces a foreground colour that reads against the incoming colour: white for dark colours, black for light ones, moved by the given percentage. At 100% the result is pure black or white.
Constructors
Fields
Properties
Dependencies
Gets the properties this modifier reads besides the value it modifies. Most modifiers read none; a mix towards another property reads that one.
Methods
ToString
Overrides: Object.ToString
WithoutReferences
A copy of this modifier with every property reference replaced by the colour it resolves to right now, so the modifier can be applied without a definition at hand. Modifiers without references return themselves.
Parameters:
| resolve (Func<PropertyId, SkinValue>) |