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

Default mouse pointer. More...

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

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
 

Detailed Description

Default mouse pointer.

Canvas is placed at an offset to the mouse pointer position.

Member Function Documentation

◆ getCanvas()

Canvas Dragengine.Gui.MousePointers.DefaultMousePointer.getCanvas ( )

Canvas to render mouse pointer with.

Implements Dragengine.Gui.MousePointer.

◆ getCanvasView()

CanvasView Dragengine.Gui.MousePointers.DefaultMousePointer.getCanvasView ( )

Canvas to render mouse pointer with.

◆ getOffset()

Point Dragengine.Gui.MousePointers.DefaultMousePointer.getOffset ( )

Canvas offset relative to mouse pointer position.

◆ getPosition()

Point Dragengine.Gui.MousePointers.DefaultMousePointer.getPosition ( )

Mouse position.

Implements Dragengine.Gui.MousePointer.

◆ getSize()

Point Dragengine.Gui.MousePointers.DefaultMousePointer.getSize ( )

Mouse pointer size.

◆ getTransformation()

TexMatrix2 Dragengine.Gui.MousePointers.DefaultMousePointer.getTransformation ( )

Transformation or null if not set.

◆ getTransparency()

float Dragengine.Gui.MousePointers.DefaultMousePointer.getTransparency ( )

Transparency.

◆ new() [1/4]

◆ new() [2/4]

DefaultMousePointer Dragengine.Gui.MousePointers.DefaultMousePointer.new ( Point  size)

Create mouse pointer.

◆ new() [3/4]

DefaultMousePointer Dragengine.Gui.MousePointers.DefaultMousePointer.new ( Point  size,
Point  offset 
)

Create mouse pointer.

◆ new() [4/4]

DefaultMousePointer Dragengine.Gui.MousePointers.DefaultMousePointer.new ( Point  size,
Point  offset,
float  transparency 
)

Create mouse pointer.

◆ setOffset()

void Dragengine.Gui.MousePointers.DefaultMousePointer.setOffset ( Point  offset)

Set canvas X offset relative to mouse pointer position.

◆ setPosition()

void Dragengine.Gui.MousePointers.DefaultMousePointer.setPosition ( Point  position)

Set mouse position.

Implements Dragengine.Gui.MousePointer.

◆ setSize()

void Dragengine.Gui.MousePointers.DefaultMousePointer.setSize ( Point  size)

Set mouse pointer size.

◆ setTransformation()

void Dragengine.Gui.MousePointers.DefaultMousePointer.setTransformation ( TexMatrix2  transformation)

Set transformation or null if not set.

◆ setTransparency()

void Dragengine.Gui.MousePointers.DefaultMousePointer.setTransparency ( float  transparency)

Set the transparency.

Member Data Documentation

◆ pCanvas

CanvasView Dragengine.Gui.MousePointers.DefaultMousePointer.pCanvas

◆ pOffset

Point Dragengine.Gui.MousePointers.DefaultMousePointer.pOffset

◆ pPosition

Point Dragengine.Gui.MousePointers.DefaultMousePointer.pPosition

◆ pTransformation

TexMatrix2 Dragengine.Gui.MousePointers.DefaultMousePointer.pTransformation

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