Drag[en]gine Script Module DragonScript  1.23
Dragengine.Gui.MousePointers.CanvasCreatorMousePointer Class Reference

Mouse pointer using canvas creator. More...

Inheritance diagram for Dragengine.Gui.MousePointers.CanvasCreatorMousePointer:
Dragengine.Gui.MousePointers.DefaultMousePointer Dragengine.Gui.MousePointer

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
 

Detailed Description

Mouse pointer using canvas creator.

Member Function Documentation

◆ getCanvasCreator()

CanvasCreator Dragengine.Gui.MousePointers.CanvasCreatorMousePointer.getCanvasCreator ( )

Canvas creator or null if not set.

◆ new()

CanvasCreatorMousePointer Dragengine.Gui.MousePointers.CanvasCreatorMousePointer.new ( )

Create mouse pointer.

Reimplemented from Dragengine.Gui.MousePointers.DefaultMousePointer.

◆ setCanvasCreator()

void Dragengine.Gui.MousePointers.CanvasCreatorMousePointer.setCanvasCreator ( CanvasCreator  canvasCreator)

Set canvas creator.

◆ updateCanvas()

void Dragengine.Gui.MousePointers.CanvasCreatorMousePointer.updateCanvas ( )

Update canvas.

Member Data Documentation

◆ pCanvasCreator

CanvasCreator Dragengine.Gui.MousePointers.CanvasCreatorMousePointer.pCanvasCreator

Canvas creator.


The documentation for this class was generated from the following file: