Show / Hide Table of Contents

Struct MacOSCursorComponent.Frame

Inherited Members
ValueType.Equals(object)
ValueType.GetHashCode()
ValueType.ToString()
object.Equals(object, object)
object.GetType()
object.ReferenceEquals(object, object)
Namespace: OpenTK.Platform.Native.macOS
Assembly: OpenTK.Platform.dll
Syntax
public struct MacOSCursorComponent.Frame

Constructors

Frame(int, int, byte[], int, int)

Declaration
public Frame(int width, int height, byte[] image, int hotspotX, int hotspotY)
Parameters
Type Name Description
int width
int height
byte[] image
int hotspotX
int hotspotY

Fields

Height

Height of the cursor in window coordinates.

Declaration
public float Height
Field Value
Type Description
float

HotspotX

The x axis pixel of the image to be the hotspot.

Declaration
public int HotspotX
Field Value
Type Description
int

HotspotY

The y axis pixel of the image to be the hotspot.

Declaration
public int HotspotY
Field Value
Type Description
int

Image

The frame image data in RGBA format.

Declaration
public byte[] Image
Field Value
Type Description
byte[]

ResX

X resolution of Image.

Declaration
public int ResX
Field Value
Type Description
int

ResY

Y resolution of Image.

Declaration
public int ResY
Field Value
Type Description
int

Width

Width of the cursor in window coordinates.

Declaration
public float Width
Field Value
Type Description
float
In this article
Back to top Generated by DocFX