Table of Contents

Method GetForeColor

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

GetForeColor(Color)

Returns ForeColor or BackColor depending on Options.

public virtual 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.