Drag[en]gine Script Module DragonScript
1.23
|
Mouse pointer using image. More...
Public Member Functions | |
Image | getImage () |
Image or null if not set. More... | |
ImageMousePointer | new () |
Create mouse pointer. More... | |
void | setImage (Image image) |
Set image. More... | |
void | updateCanvas () |
Update canvas. More... | |
Public Member Functions inherited from Dragengine.Gui.MousePointers.DefaultMousePointer | |
Canvas | getCanvas () |
Canvas to render mouse pointer with. More... | |
CanvasView | getCanvasView () |
Canvas to render mouse pointer with. More... | |
Point | getOffset () |
Canvas offset relative to mouse pointer position. More... | |
Point | getPosition () |
Mouse position. More... | |
Point | getSize () |
Mouse pointer size. More... | |
TexMatrix2 | getTransformation () |
Transformation or null if not set. More... | |
float | getTransparency () |
Transparency. More... | |
DefaultMousePointer | new (Point size) |
Create mouse pointer. More... | |
DefaultMousePointer | new (Point size, Point offset) |
Create mouse pointer. More... | |
DefaultMousePointer | new (Point size, Point offset, float transparency) |
Create mouse pointer. More... | |
void | setOffset (Point offset) |
Set canvas X offset relative to mouse pointer position. More... | |
void | setPosition (Point position) |
Set mouse position. More... | |
void | setSize (Point size) |
Set mouse pointer size. More... | |
void | setTransformation (TexMatrix2 transformation) |
Set transformation or null if not set. More... | |
void | setTransparency (float transparency) |
Set the transparency. More... | |
Public Attributes | |
Image | pImage |
Public Attributes inherited from Dragengine.Gui.MousePointers.DefaultMousePointer | |
CanvasView | pCanvas |
Point | pOffset |
Point | pPosition |
TexMatrix2 | pTransformation |
Mouse pointer using image.
ImageMousePointer Dragengine.Gui.MousePointers.ImageMousePointer.new | ( | ) |
Create mouse pointer.
Reimplemented from Dragengine.Gui.MousePointers.DefaultMousePointer.
void Dragengine.Gui.MousePointers.ImageMousePointer.setImage | ( | Image | image | ) |
Set image.
void Dragengine.Gui.MousePointers.ImageMousePointer.updateCanvas | ( | ) |
Update canvas.
Image Dragengine.Gui.MousePointers.ImageMousePointer.pImage |