Function drawPoints

  • Draw a set of points on an image or a mask.

    Parameters

    • image: Image

      The image on which to draw the points.

    • points: Point[]

      Array of points.

    • Optional options: DrawPointsOptions

      Draw points on Image options.

    Returns Image

    New mask.

  • Draw a set of points on an image or a mask.

    Parameters

    • image: Mask

      The image on which to draw the points.

    • points: Point[]

      Array of points.

    • Optional options: DrawPointsOptions

      Draw points on Image options.

    Returns Mask

    New mask.