Sha256: b0d978c4fd1832088fdf1de697e88b0d02d2c638688079d8402c82dc51eff037

Contents?: true

Size: 804 Bytes

Versions: 1

Compression:

Stored size: 804 Bytes

Contents

module GLFW

  ##
  # Describes the application's mouse cursor object and how it appears for the window.
  class Cursor

    ##
    # @overload initialize(shape)
    #   Creates a new cursor using a standard shape defined by the operating system.
    #   @param shape [Integer] An integer representing the shape of the cursor to create.
    #
    # @overload initialize(image, xhot = 0, yhot = 0)
    #   Creates a new cursor using the specified image.
    #   @param image [Image] A source image to use for the cursor's appearance.
    #   @param xhot [Integer] The "hot-point" of the cursor on the x-axis, where 0 is the left edge of the image.
    #   @param yhot [Integer] The "hot-point" of the cursor on the y-axis, where 0 is the top edge of the image.
    def initialize(*argv)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
glfw-3.3.2.0 lib/glfw/stubs/cursor.rb