ImageManager.drawImage

Draws an image.

  1. bool drawImage(string imagePath, ptrdiff_t x, ptrdiff_t y, ptrdiff_t width, ptrdiff_t height)
  2. bool drawImage(string imagePath, ptrdiff_t x, ptrdiff_t y)
    class ImageManager
    final
    bool
    drawImage
    (
    string imagePath
    ,
    ptrdiff_t x
    ,
    ptrdiff_t y
    )

Parameters

imagePath string

The image path.

x ptrdiff_t

The x coordinate.

y ptrdiff_t

The y coordinate.

Return Value

Type: bool

True if the action was successfully executed, false otherwise.

Meta