Interface IStroker


  • public interface IStroker
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean isFill()
      Tells whether stroked input should be drawn as a filled shaped or not.
      void stroke​(@NotNull InkPoint[] input, float width, float pixelSize, @NotNull IPath output)
      Constructs a visual stroke from input points.
    • Method Detail

      • isFill

        boolean isFill()
        Tells whether stroked input should be drawn as a filled shaped or not.
        Returns:
        true if strokes are to be filled, otherwise false.
      • 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.