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

Mouse pointer using image. More...

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

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
 

Detailed Description

Mouse pointer using image.

Member Function Documentation

◆ getImage()

Image Dragengine.Gui.MousePointers.ImageMousePointer.getImage ( )

Image or null if not set.

◆ new()

ImageMousePointer Dragengine.Gui.MousePointers.ImageMousePointer.new ( )

Create mouse pointer.

Reimplemented from Dragengine.Gui.MousePointers.DefaultMousePointer.

◆ setImage()

void Dragengine.Gui.MousePointers.ImageMousePointer.setImage ( Image  image)

Set image.

◆ updateCanvas()

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

Update canvas.

Member Data Documentation

◆ pImage

Image Dragengine.Gui.MousePointers.ImageMousePointer.pImage

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