Class SplineLineRenderableSeries
Defines a spline Line renderable series, supporting solid, stroked (thickness 1+) lines, dashed lines and optional Point-markers BaseRenderableSeries#setPointMarker(IPointMarker)
Inheritance
Inherited Members
Namespace:
Assembly: .dll
Syntax
public class SplineLineRenderableSeries extends renderableSeries.XyRenderableSeriesBase
Constructors
SplineLineRenderableSeries()
Creates new instance of SplineLineRenderableSeries
Declaration
public SplineLineRenderableSeries()
SplineLineRenderableSeries(IBezierControlPointsProvider bezierControlPointsProvider)
Creates new instance of SplineLineRenderableSeries
Declaration
public SplineLineRenderableSeries(IBezierControlPointsProvider bezierControlPointsProvider)
Parameters
Type | Name | Description |
---|---|---|
IBezierControlPointsProvider | bezierControlPointsProvider | The IBezierControlPointsProvider provider which calculates smooth line |
SplineLineRenderableSeries(renderableSeriesSplineXyRenderPassData currentRenderPassData, renderableSeries.hitTest.IHitProvider hitProvider, renderableSeries.hitTest.INearestPointProvider nearestPointProvider)
Creates a new instance of SplineLineRenderableSeries class
Declaration
protected SplineLineRenderableSeries(renderableSeriesSplineXyRenderPassData currentRenderPassData, renderableSeries.hitTest.IHitProvider hitProvider, renderableSeries.hitTest.INearestPointProvider nearestPointProvider)
Parameters
Type | Name | Description |
---|---|---|
renderableSeriesSplineXyRenderPassData | currentRenderPassData | The render pass data instance |
renderableSeries.hitTest.IHitProvider | hitProvider | The hit provider instance |
renderableSeries.hitTest.INearestPointProvider | nearestPointProvider | The nearest point provider instance |
Methods
internalDraw(IRenderContext2D renderContext, IAssetManager2D assetManager, renderableSeriesISeriesRenderPassData renderPassData)
Draws the series using the IRenderContext2D, the IAssetManager2D and the ISeriesRenderPassData passed in
Declaration
protected void internalDraw(IRenderContext2D renderContext, IAssetManager2D assetManager, renderableSeriesISeriesRenderPassData renderPassData)
Parameters
Type | Name | Description |
---|---|---|
IRenderContext2D | renderContext | The render context. This is a graphics object which has methods to draw lines, quads and polygons to the screen |
IAssetManager2D | assetManager | The asset manager. This is manager for graphic assets which has method for creation pens, brushes and textures |
renderableSeriesISeriesRenderPassData | renderPassData | The render pass data which contain a resampled point series, the index range of point on the screen |