ImageCursor

scalafx.scene.ImageCursor
See theImageCursor companion class
object ImageCursor

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

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.

Attributes

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.

Attributes

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.

Attributes

Implicits

Implicits

implicit def sfxImageCursor2jfx(c: ImageCursor): ImageCursor