APIdia Launch Partner
Top Description Inners Methods
com.badlogic.gdx.graphics

public Interface Cursor

extends Disposable
Imports
com.badlogic.gdx.Graphics, com.badlogic.gdx.utils.Disposable

Represents a mouse cursor. Create a cursor via Graphics#newCursor(Pixmap, int, int). To set the cursor use Graphics#setCursor(Cursor). To use one of the system cursors, call Graphics#setSystemCursor

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static enum

Method Summary

Inherited from com.badlogic.gdx.utils.Disposable:
dispose
com.badlogic.gdx.graphics back to summary

public final Enum Cursor.SystemCursor

extends Enum<Cursor.SystemCursor>
Class Inheritance

Field Summary

Modifier and TypeField and Description
public static final Cursor.SystemCursor
public static final Cursor.SystemCursor
public static final Cursor.SystemCursor
public static final Cursor.SystemCursor
public static final Cursor.SystemCursor
public static final Cursor.SystemCursor
public static final Cursor.SystemCursor
public static final Cursor.SystemCursor
public static final Cursor.SystemCursor
public static final Cursor.SystemCursor
public static final Cursor.SystemCursor

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static Cursor.SystemCursor
public static Cursor.SystemCursor[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

AllResizeback to summary
public static final Cursor.SystemCursor AllResize
Arrowback to summary
public static final Cursor.SystemCursor Arrow
Crosshairback to summary
public static final Cursor.SystemCursor Crosshair
Handback to summary
public static final Cursor.SystemCursor Hand
HorizontalResizeback to summary
public static final Cursor.SystemCursor HorizontalResize
Ibeamback to summary
public static final Cursor.SystemCursor Ibeam
NESWResizeback to summary
public static final Cursor.SystemCursor NESWResize
Noneback to summary
public static final Cursor.SystemCursor None
NotAllowedback to summary
public static final Cursor.SystemCursor NotAllowed
NWSEResizeback to summary
public static final Cursor.SystemCursor NWSEResize
VerticalResizeback to summary
public static final Cursor.SystemCursor VerticalResize

Constructor Detail

SystemCursorback to summary
private SystemCursor()

Method Detail

valueOfback to summary
public static Cursor.SystemCursor valueOf(String name)
valuesback to summary
public static Cursor.SystemCursor[] values()