IDrawable

StockSharp.Xaml.Charting.Visuals

Defines the base interface for an object that can be drawn

Properties

Height
public double Height { get; set; }
value = iDrawable.Height
iDrawable.Height = value

Gets or sets the height of the IDrawable in pixels

Width
public double Width { get; set; }
value = iDrawable.Width
iDrawable.Width = value

Gets or sets the width of the IDrawable in pixels

Methods

OnDraw
public void OnDraw(IRenderContext2D renderContext, IRenderPassData renderPassData)
iDrawable.OnDraw(renderContext, renderPassData)

Called when the instance is drawn

renderContext
The IRenderContext2D used for drawing
renderPassData
Contains arguments and parameters for this render pass