Table of Contents

Method SetColorOverride

Namespace
Alternet.Drawing
Assembly
Alternet.UI.Common.dll

SetColorOverride(KnownSvgColor, bool, Color?)

Sets color overrides used instead of default known svg colors. Override is used only for this svg image.

public virtual void SetColorOverride(KnownSvgColor knownColor, bool isDark, Color? value)

Parameters

knownColor KnownSvgColor

Known svg color

isDark bool

Whether override is set for dark or light color theme.

value Color

Override color value.

SetColorOverride(KnownSvgColor, LightDarkColor?)

Sets color overrides used instead of default known svg colors. Override is used only for this svg image.

public virtual void SetColorOverride(KnownSvgColor knownColor, LightDarkColor? value)

Parameters

knownColor KnownSvgColor

Known svg color

value LightDarkColor

Override color value.