Drag[en]gine Script Module DragonScript
1.23
|
Mouse pointer using canvas creator. More...
Public Member Functions | |
CanvasCreator | getCanvasCreator () |
Canvas creator or null if not set. More... | |
CanvasCreatorMousePointer | new () |
Create mouse pointer. More... | |
void | setCanvasCreator (CanvasCreator canvasCreator) |
Set canvas creator. 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 | |
CanvasCreator | pCanvasCreator |
Canvas creator. More... | |
Public Attributes inherited from Dragengine.Gui.MousePointers.DefaultMousePointer | |
CanvasView | pCanvas |
Point | pOffset |
Point | pPosition |
TexMatrix2 | pTransformation |
Mouse pointer using canvas creator.
CanvasCreator Dragengine.Gui.MousePointers.CanvasCreatorMousePointer.getCanvasCreator | ( | ) |
Canvas creator or null if not set.
CanvasCreatorMousePointer Dragengine.Gui.MousePointers.CanvasCreatorMousePointer.new | ( | ) |
Create mouse pointer.
Reimplemented from Dragengine.Gui.MousePointers.DefaultMousePointer.
void Dragengine.Gui.MousePointers.CanvasCreatorMousePointer.setCanvasCreator | ( | CanvasCreator | canvasCreator | ) |
Set canvas creator.
void Dragengine.Gui.MousePointers.CanvasCreatorMousePointer.updateCanvas | ( | ) |
Update canvas.
CanvasCreator Dragengine.Gui.MousePointers.CanvasCreatorMousePointer.pCanvasCreator |
Canvas creator.