Class RenderManager
public class RenderManager
- Inheritance
-
RenderManager
- Inherited Members
- Extension Methods
Constructors
RenderManager(Plot)
public RenderManager(Plot plot)
Parameters
plot
Plot
Properties
AxisLimitsChanged
This event is invoked during a render where the axis limits (in coordinate units) changed from the previous render This event occurs after render actions are performed.
public EventHandler<RenderDetails> AxisLimitsChanged { get; set; }
Property Value
ClearCanvasBeforeEachRender
public bool ClearCanvasBeforeEachRender { get; set; }
Property Value
DisableAxisLimitsChangedEventOnNextRender
Prevents AxisLimitsChanged from being invoked in situations that may cause infinite loops
public bool DisableAxisLimitsChangedEventOnNextRender { get; set; }
Property Value
EnableEvents
public bool EnableEvents { get; set; }
Property Value
EnableRendering
If false, any calls to Render() return immediately
public bool EnableRendering { get; set; }
Property Value
IsRendering
Indicates whether this plot is in the process of executing a render
public bool IsRendering { get; }
Property Value
LastRender
Information about the previous render
public RenderDetails LastRender { get; }
Property Value
PreRenderLock
These events are invoked before any render action. Users can add blocking code to this event to ensure processes that modify plottables are complete before rendering begins. Alternatively, lock the Sync object.
public EventHandler PreRenderLock { get; set; }
Property Value
RenderActions
This list of actions is performed in sequence to render a plot. It may be modified externally to inject custom functionality.
public List<IRenderAction> RenderActions { get; }
Property Value
RenderCount
Total number of renders completed
public int RenderCount { get; }
Property Value
RenderFinished
This event is invoked after each render
public EventHandler<RenderDetails> RenderFinished { get; set; }
Property Value
RenderStarting
This event is invoked just before each render, after axis limits are determined, tick labels are measured, and data area has been decided
public EventHandler<RenderPack> RenderStarting { get; set; }
Property Value
SizeChanged
This event a render where the figure size (in pixels) changed from the previous render
public EventHandler<RenderDetails> SizeChanged { get; set; }
Property Value
Methods
ForgetLastRender()
public void ForgetLastRender()
Remove<T>()
Remove all render actions of the given type
public void Remove<T>() where T : IRenderAction
Type Parameters
T
Render(SKCanvas, PixelRect)
public void Render(SKCanvas canvas, PixelRect rect)