final class CursorUtils
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
private |
CursorUtils() |
Modifier and Type | Method and Description |
---|---|
private static Cursor |
createPlatformCursor(CursorFrame cursorFrame) |
private static Cursor |
createPlatformImageCursor(ImageCursorFrame imageCursorFrame) |
private static Cursor |
createPlatformImageCursor(int x,
int y,
int width,
int height,
java.lang.Object buffer) |
private static Cursor |
createPlatformImageCursor(java.lang.Object platformImage,
float hotspotX,
float hotspotY) |
static Dimension2D |
getBestCursorSize(int preferredWidth,
int preferredHeight) |
static Cursor |
getPlatformCursor(CursorFrame cursorFrame) |
public static Cursor getPlatformCursor(CursorFrame cursorFrame)
public static Dimension2D getBestCursorSize(int preferredWidth, int preferredHeight)
private static Cursor createPlatformCursor(CursorFrame cursorFrame)
private static Cursor createPlatformImageCursor(ImageCursorFrame imageCursorFrame)
private static Cursor createPlatformImageCursor(java.lang.Object platformImage, float hotspotX, float hotspotY)
private static Cursor createPlatformImageCursor(int x, int y, int width, int height, java.lang.Object buffer)