IPathDrawingContext

StockSharp.Xaml.Charting.Rendering.Common

Returns an IPathDrawingContext to draw a polyline, or collection of PointMarkers

Implements: IDisposable

Methods

Begin
public IPathDrawingContext Begin(IPathColor color, double x, double y)
result = iPathDrawingContext.Begin(color, x, y)

Starts the context at the specified X,Y coordinate with a specified Pen

color
The pen or brush for the drawing operation
x
The x-coordinate in pixels
y
The y-coordinate in pixels

Returns: The IPathDrawingContext instance, to allow fluent API

End
public void End()
iPathDrawingContext.End()

Ends the segment, flushing to render target

MoveTo
public IPathDrawingContext MoveTo(double x, double y)
result = iPathDrawingContext.MoveTo(x, y)

Moves the Context to the specified X,Y coordinate.

x
The x-coordinate in pixels
y
The y-coordinate in pixels

Returns: The IPathDrawingContext instance, to allow fluent API