Interface IDrawingContext
Defines the drawing context methods for drawing many primitives with one draw call
Namespace:
Assembly: .dll
Syntax
public interface IDrawingContext
Methods
draw(IRenderContext2D renderContext, IPathColor color, float[] points, int startIndex, int count)
Draws provided points with this drawing context on provided IRenderContext2D
Declaration
public abstract void draw(IRenderContext2D renderContext, IPathColor color, float[] points, int startIndex, int count)
Parameters
| Type | Name | Description |
|---|---|---|
| IRenderContext2D | renderContext | The render context to draw on |
| IPathColor | color | The path color to draw points with |
| float[] | points | The array of point to draw |
| int | startIndex | The start index in points array to start drawing from |
| int | count | The amount of points to draw from points array |