public class IMousePointerShape extends IUnknown
{1E775EA3-9070-4F9C-B0D5-53054496DBE0}
Constructor and Description |
---|
IMousePointerShape(java.lang.String wrapped,
org.virtualbox_7_0.ObjectRefManager objMgr,
org.virtualbox_7_0.jaxws.VboxPortType port) |
Modifier and Type | Method and Description |
---|---|
java.lang.Boolean |
getAlpha()
Flag whether the pointer has an alpha channel.
|
java.lang.Long |
getHeight()
Height of the pointer shape in pixels.
|
java.lang.Long |
getHotX()
The pointer hot spot X coordinate.
|
java.lang.Long |
getHotY()
The pointer hot spot Y coordinate.
|
byte[] |
getShape()
Shape bitmaps.
|
java.lang.Boolean |
getVisible()
Flag whether the pointer is visible.
|
java.lang.Long |
getWidth()
Width of the pointer shape in pixels.
|
static IMousePointerShape |
queryInterface(IUnknown obj) |
getObjMgr, getRemoteWSPort, getWrapped, releaseRemote
public IMousePointerShape(java.lang.String wrapped, org.virtualbox_7_0.ObjectRefManager objMgr, org.virtualbox_7_0.jaxws.VboxPortType port)
public java.lang.Boolean getVisible()
public java.lang.Boolean getAlpha()
public java.lang.Long getHotX()
public java.lang.Long getHotY()
public java.lang.Long getWidth()
public java.lang.Long getHeight()
public byte[] getShape()
cbAnd = (width + 7) / 8 *
height
. The padding bits at the end of each scanline are
undefined.
The XOR mask follows the AND mask on the next 4-byte aligned
offset:uint8_t *pu8Xor = pu8And + (cbAnd + 3) & ~3
.
Bytes in the gap between the AND and the XOR mask are undefined.
The XOR mask scanlines have no gap between them and the size of
the XOR mask is:cbXor = width * 4 * height
.
NOTE: If shape size is 0, then the shape is not known or did not change.
This can happen if only the pointer visibility is changed.public static IMousePointerShape queryInterface(IUnknown obj)