Drag[en]gine Script Module DragonScript
1.23
|
Default mouse pointer. More...
Public Member Functions | |
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 () |
Create mouse pointer. 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 | |
CanvasView | pCanvas |
Point | pOffset |
Point | pPosition |
TexMatrix2 | pTransformation |
Default mouse pointer.
Canvas is placed at an offset to the mouse pointer position.
Canvas Dragengine.Gui.MousePointers.DefaultMousePointer.getCanvas | ( | ) |
Canvas to render mouse pointer with.
Implements Dragengine.Gui.MousePointer.
CanvasView Dragengine.Gui.MousePointers.DefaultMousePointer.getCanvasView | ( | ) |
Canvas to render mouse pointer with.
Point Dragengine.Gui.MousePointers.DefaultMousePointer.getOffset | ( | ) |
Canvas offset relative to mouse pointer position.
Point Dragengine.Gui.MousePointers.DefaultMousePointer.getPosition | ( | ) |
Mouse position.
Implements Dragengine.Gui.MousePointer.
Point Dragengine.Gui.MousePointers.DefaultMousePointer.getSize | ( | ) |
Mouse pointer size.
TexMatrix2 Dragengine.Gui.MousePointers.DefaultMousePointer.getTransformation | ( | ) |
Transformation or null if not set.
float Dragengine.Gui.MousePointers.DefaultMousePointer.getTransparency | ( | ) |
Transparency.
DefaultMousePointer Dragengine.Gui.MousePointers.DefaultMousePointer.new | ( | ) |
Create mouse pointer.
Reimplemented in Dragengine.Gui.MousePointers.VideoMousePointer, Dragengine.Gui.MousePointers.ImageMousePointer, and Dragengine.Gui.MousePointers.CanvasCreatorMousePointer.
DefaultMousePointer Dragengine.Gui.MousePointers.DefaultMousePointer.new | ( | Point | size | ) |
Create mouse pointer.
DefaultMousePointer Dragengine.Gui.MousePointers.DefaultMousePointer.new | ( | Point | size, |
Point | offset | ||
) |
Create mouse pointer.
DefaultMousePointer Dragengine.Gui.MousePointers.DefaultMousePointer.new | ( | Point | size, |
Point | offset, | ||
float | transparency | ||
) |
Create mouse pointer.
void Dragengine.Gui.MousePointers.DefaultMousePointer.setOffset | ( | Point | offset | ) |
Set canvas X offset relative to mouse pointer position.
void Dragengine.Gui.MousePointers.DefaultMousePointer.setPosition | ( | Point | position | ) |
Set mouse position.
Implements Dragengine.Gui.MousePointer.
void Dragengine.Gui.MousePointers.DefaultMousePointer.setSize | ( | Point | size | ) |
Set mouse pointer size.
void Dragengine.Gui.MousePointers.DefaultMousePointer.setTransformation | ( | TexMatrix2 | transformation | ) |
Set transformation or null if not set.
void Dragengine.Gui.MousePointers.DefaultMousePointer.setTransparency | ( | float | transparency | ) |
Set the transparency.
CanvasView Dragengine.Gui.MousePointers.DefaultMousePointer.pCanvas |
Point Dragengine.Gui.MousePointers.DefaultMousePointer.pOffset |
Point Dragengine.Gui.MousePointers.DefaultMousePointer.pPosition |
TexMatrix2 Dragengine.Gui.MousePointers.DefaultMousePointer.pTransformation |