SDL2Cursor.this

Creates a cursor from a SDL surface. The surface should outlive this cursor, its ownership will not be taken.

  1. this(SDL2 sdl2, SDL2Surface surface, int hotspotX, int hotspotY)
    class SDL2Cursor
  2. this(SDL2 sdl2, SDL_SystemCursor id)

Throws

SDL2Exception on error.

See Also

Meta