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.
メソッド
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.
戻り値: 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.
戻り値: The title colour.