Method GetForeColor
GetForeColor(Color)
Returns ForeColor
or BackColor
depending on Options
.
public virtual Color GetForeColor(Color color)
Parameters
color
ColorSpecifies default color to return if
BackColor
orForeColor
represent empty color.
Returns
- Color
BackColor
ifLineStyleOptions.InvertColors
is on; otherwiseForeColor
.