ImageCursor

object ImageCursor
Companion
class
class Object
trait Matchable
class Any

Value members

Concrete methods

def chooseBestCursor(images: Array[Image], hotspotX: Double, hotspotY: Double): ImageCursor

Creates a custom image cursor from one of the specified images.

Creates a custom image cursor from one of the specified images.

def getBestSize(preferredWidth: Double, preferredHeight: Double): Dimension2D

Gets the supported cursor size that is closest to the specified preferred size.

Gets the supported cursor size that is closest to the specified preferred size.

Returns the maximum number of colors supported in a custom image cursor palette.

Returns the maximum number of colors supported in a custom image cursor palette.

Implicits

Implicits

implicit def sfxImageCursor2jfx(c: ImageCursor): ImageCursor