public final class RenderSurfaceRenderer
extends java.lang.Object
implements com.scichart.drawing.common.IRenderSurfaceRenderer
IRenderSurfaceRenderer
implementation used by SciChartSurface
to render its contentConstructor and Description |
---|
RenderSurfaceRenderer(ISciChartSurface sciChartSurface)
Creates a new instance of
RenderSurfaceRenderer instance |
Modifier and Type | Method and Description |
---|---|
void |
onDraw(com.scichart.drawing.common.IRenderContext2D renderContext,
com.scichart.drawing.common.IAssetManager2D assetManager) |
void |
onSurfaceAttached(com.scichart.drawing.common.IRenderSurface surface) |
void |
onSurfaceDetached(com.scichart.drawing.common.IRenderSurface surface) |
void |
onSurfaceSizeChanged(int width,
int height,
int oldWidth,
int oldHeight) |
public RenderSurfaceRenderer(ISciChartSurface sciChartSurface)
RenderSurfaceRenderer
instancesciChartSurface
- The SciChartSurface
instance to rendererpublic void onDraw(com.scichart.drawing.common.IRenderContext2D renderContext, com.scichart.drawing.common.IAssetManager2D assetManager)
onDraw
in interface com.scichart.drawing.common.IDrawable
public void onSurfaceAttached(com.scichart.drawing.common.IRenderSurface surface)
onSurfaceAttached
in interface com.scichart.drawing.common.IRenderSurfaceRenderer
public void onSurfaceDetached(com.scichart.drawing.common.IRenderSurface surface)
onSurfaceDetached
in interface com.scichart.drawing.common.IRenderSurfaceRenderer
public void onSurfaceSizeChanged(int width, int height, int oldWidth, int oldHeight)
onSurfaceSizeChanged
in interface com.scichart.drawing.common.IRenderSurfaceRenderer