IPointMarker
StockSharp.Xaml.Charting.Visuals.PointMarkers
specifies interface for rendering point markers. a point marker is something which is displayed at data points
Properties
Fill
public Color Fill { get; set; }
value = iPointMarker.Fill
iPointMarker.Fill = value
Gets or sets the Fill Color (fill) of the PointMarker
Height
public double Height { get; set; }
value = iPointMarker.Height
iPointMarker.Height = value
Gets or sets the Height of the PointMarker in pixels
Stroke
public Color Stroke { get; set; }
value = iPointMarker.Stroke
iPointMarker.Stroke = value
Gets or sets the Stroke Color (outline) of the PointMarker
StrokeThickness
public double StrokeThickness { get; set; }
value = iPointMarker.StrokeThickness
iPointMarker.StrokeThickness = value
Gets or sets the StrokeThickness of the PointMarker outline in pixels
Width
public double Width { get; set; }
value = iPointMarker.Width
iPointMarker.Width = value
Gets or sets the Width of the PointMarker in pixels
Methods
Begin
public void Begin(IRenderContext2D context, IPen2D defaultPen, IBrush2D defaultBrush)
iPointMarker.Begin(context, defaultPen, defaultBrush)
Called when a batched draw operation is about to begin. All subsequent draw operations will have the same width, height, rendercontext and pen, brush
Draw
public void Draw(IRenderContext2D context, IEnumerable<Point> centers)
iPointMarker.Draw(context, centers)
Renders the PointMarker on each Point passed in with Fill and Stroke values. Each point is a coordinate in the centre of the PointMarker.
- context
- The RenderContext to draw too
- centers
- The collection of Points to render the Point Markers at