Contents

init(image:foregroundColorHint:backgroundColorHint:hotSpot:)

Initializes the cursor with the specified image and hot spot.

Declaration

convenience init(image newImage: NSImage, foregroundColorHint fg: NSColor?, backgroundColorHint bg: NSColor?, hotSpot: NSPoint)

Parameters

  • newImage:

    The image to assign to the cursor.

  • fg:

    The foreground color. This is currently ignored.

  • bg:

    The background color. This is currently ignored.

  • hotSpot:

    The point to assign as the cursor’s hot spot.

Return Value

The initialized cursor object.

See Also

Deprecated