DiagramColorRules

StockSharp.Xaml.Diagram.Controls

The colours a diagram picks by itself, so that what it draws on a colour of the host can be read.

Métodos

ReadableOutlineOn
public static Color ReadableOutlineOn(Color canvas)
result = DiagramColorRules.ReadableOutlineOn(canvas)

Outline for a shape drawn on the given canvas.

canvas
What the shape sits on.

Devuelve: The outline colour.

ReadableTextOn
public static Color ReadableTextOn(Color fill)
result = DiagramColorRules.ReadableTextOn(fill)

Title colour for a body filled with the given colour.

fill
The body's fill.

Devuelve: The title colour.