Drag[en]gine Script Module DragonScript Script API  1.0
DefaultMousePointer Class Reference
Inheritance diagram for DefaultMousePointer:
MousePointer DragMousePointer InfoMousePointer SimpleMousePointer

Public Member Functions

Canvas getCanvas ()
 
CanvasView getCanvasView ()
 
Point getOffset ()
 
Point getPosition ()
 
Point getSize ()
 
float getTransparency ()
 
DefaultMousePointer new (Point size)
 
DefaultMousePointer new (Point size, Point offset)
 
DefaultMousePointer new (Point size, Point offset, float transparency)
 
void setOffset (Point offset)
 
void setPosition (Point position)
 
void setSize (Point size)
 
void setTransparency (float transparency)
 

Detailed Description

Default mouse pointer. Rendered using a canvas view placed at an offset to the mouse pointer position.

Author
Roland Pl├╝ss
Version
1.0

Member Function Documentation

§ getCanvas()

Canvas getCanvas ( )

Canvas to render mouse pointer with.

Implements MousePointer.

§ getCanvasView()

CanvasView getCanvasView ( )

Canvas to render mouse pointer with.

§ getOffset()

Point getOffset ( )

Canvas offset relative to mouse pointer position.

§ getPosition()

Point getPosition ( )

Mouse position.

Implements MousePointer.

§ getSize()

Point getSize ( )

Mouse pointer size.

§ getTransparency()

float getTransparency ( )

Transparency.

§ new() [1/3]

DefaultMousePointer new ( Point  size)

Create mouse pointer.

§ new() [2/3]

DefaultMousePointer new ( Point  size,
Point  offset 
)

Create mouse pointer.

§ new() [3/3]

DefaultMousePointer new ( Point  size,
Point  offset,
float  transparency 
)

Create mouse pointer.

§ setOffset()

void setOffset ( Point  offset)

Set canvas X offset relative to mouse pointer position.

§ setPosition()

void setPosition ( Point  position)

Set mouse position.

Implements MousePointer.

§ setSize()

void setSize ( Point  size)

Set mouse pointer size.

§ setTransparency()

void setTransparency ( float  transparency)

Set the transparency.


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