Difference between revisions of "Cursor"

(Created page)
 
m
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 +
{{newin|[[0.9.0]]|090|type=type}}
 
Represents a hardware cursor.
 
Represents a hardware cursor.
 
== Constructors ==
 
== Constructors ==
Line 38: Line 39:
 
== See Also ==
 
== See Also ==
 
* [[parent::love.mouse]]
 
* [[parent::love.mouse]]
 +
* [[love.mouse.setCursor]]
 +
* [[love.mouse.getCursor]]
 
[[Category:Types]]
 
[[Category:Types]]
 
{{#set:Description=Represents a hardware cursor.}}
 
{{#set:Description=Represents a hardware cursor.}}
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|Cursor}}
 
{{i18n|Cursor}}

Latest revision as of 06:09, 26 August 2013

Available since LÖVE 0.9.0
This type is not supported in earlier versions.

Represents a hardware cursor.

Constructors

love.mouse.getSystemCursor Gets a Cursor object representing a system-native hardware cursor. Added since 0.9.0
love.mouse.newCursor Creates a new hardware Cursor object from an image. Added since 0.9.0

Functions

Cursor:getType Gets the type of the Cursor. Added since 0.9.0
Object:release Immediately destroys the object's Lua reference. Added since 11.0
Object:type Gets the type of the object as a string.
Object:typeOf Checks whether an object is of a certain type.

Enums

CursorType Types of hardware cursors. Added since 0.9.0

Supertypes

See Also

Other Languages