Table of Contents

Method GetForeColor

Namespace
Alternet.Editor.Wpf
Assembly
Alternet.Editor.Wpf.v9.dll

GetForeColor(Color)

Returns ForeColor or BackColor depending on Options.

Color GetForeColor(Color color)

Parameters

color Color

Specifies default color to return if BackColor or ForeColor represent empty color.

Returns

Color

BackColor if LineStyleOptions.InvertColors is on; otherwise ForeColor.