IRenderSurface2D
Defines the interface to a RenderSurface, which is a viewport used within the to render BaseRenderableSeries types in a fast manner. The renderer architecture is plugin based, meaning we have build multiple implementations of RenderSurfaceBase.
Implements: IRenderSurface, IDisposable, IHitTestable, IInvalidatableElement
Properties
public ReadOnlyCollection<IRenderableSeries> ChildSeries { get; }
value = iRenderSurface2D.ChildSeries
Gets the child RenderableSeries in this IRenderSurface2D instance
Methods
public void AddSeries(IRenderableSeries renderableSeries)
iRenderSurface2D.AddSeries(renderableSeries)
Adds the IRenderableSeries instance to the IRenderSurface2D
- renderableSeries
public void AddSeries(IEnumerable<IRenderableSeries> renderableSeries)
iRenderSurface2D.AddSeries(renderableSeries)
Adds the IRenderableSeries instance to the IRenderSurface2D
- renderableSeries
public bool ContainsSeries(IRenderableSeries renderableSeries)
result = iRenderSurface2D.ContainsSeries(renderableSeries)
Returns True if the RenderSurfaceBase contains the IRenderableSeries instance
- renderableSeries
- the IRenderableSeries instance
public IRenderContext2D GetRenderContext()
result = iRenderSurface2D.GetRenderContext()
Creates an IRenderContext2D instance to perform drawing operations. Note this is only valid for the current render pass
public void RemoveSeries(IRenderableSeries renderableSeries)
iRenderSurface2D.RemoveSeries(renderableSeries)
Removes the IRenderableSeries from the IRenderSurface2D
- renderableSeries