Package com.myscript.iink.graphics
Interface IStroker
public interface IStroker
The `IStroker` converts input points (touch, digital pen, etc) into a
renderable stroke representation.
-
Method Summary
-
Method Details
-
isFill
boolean isFill()Tells whether stroked input should be drawn as a filled shaped or not.- Returns:
trueif strokes are to be filled, otherwisefalse.
-
stroke
void stroke(@NotNull @NotNull InkPoint[] input, float width, float pixelSize, @NotNull @NotNull IPath output) Constructs a visual stroke from input points.- Parameters:
input- the input points.width- the desired stroke width.pixelSize- the viewport pixel size.output- the resulting stroke.
-