public interface IPathDrawingContext
IRenderContext2D
Modifier and Type | Method and Description |
---|---|
IPathDrawingContext |
begin(IPathColor color,
float x,
float y)
Starts the context at specified x, y coordinate with specified path color
|
void |
end()
Ends the segment, flushing to render target
|
IPathDrawingContext |
moveTo(float x,
float y)
Moves the context to the specified x, y coordinate
|
IPathDrawingContext |
moveToPoints(float[] points,
int startIndex,
int count)
Moves the context to multiple x, y coordinates
|
IPathDrawingContext begin(IPathColor color, float x, float y)
color
- The pen or brush for the drawing operationx
- The x-coordinate in pixelsy
- The y-coordinate in pixelsIPathDrawingContext
instance, to allow fluent APIIPathDrawingContext moveTo(float x, float y)
x
- The x-coordinate in pixelsy
- The y-coordinate in pixelsIPathDrawingContext
instance, to allow fluent APIIPathDrawingContext moveToPoints(float[] points, int startIndex, int count)
points
- The array with x, y coordinates in pixelsstartIndex
- The start index in points array to drawcount
- The amount of points to drawIPathDrawingContext
instance, to allow fluent APIvoid end()