C# Class Canguro.Controller.Tracking.HoverPainter

Afficher le fichier Open project: rforsbach/Treu-Structure Class Usage Examples

Méthodes publiques

Méthode Description
DrawText ( string text, Rectangle rect, System color ) : void

Paint some text over the active viewport at the indicated position and color

MeasureText ( string text ) : Rectangle
PaintLine ( Device device, Canguro line ) : void
PaintLine ( Device device, System.Vector3 iPos, System.Vector3 jPos ) : void
PaintPoint ( Device device, System.Vector3 screenPosition ) : void

Method Details

DrawText() public méthode

Paint some text over the active viewport at the indicated position and color
public DrawText ( string text, Rectangle rect, System color ) : void
text string A string containing the text to show
rect System.Drawing.Rectangle
color System Color for the text
Résultat void

MeasureText() public méthode

public MeasureText ( string text ) : Rectangle
text string
Résultat System.Drawing.Rectangle

PaintLine() public méthode

public PaintLine ( Device device, Canguro line ) : void
device Device
line Canguro
Résultat void

PaintLine() public méthode

public PaintLine ( Device device, System.Vector3 iPos, System.Vector3 jPos ) : void
device Device
iPos System.Vector3
jPos System.Vector3
Résultat void

PaintPoint() public méthode

public PaintPoint ( Device device, System.Vector3 screenPosition ) : void
device Device
screenPosition System.Vector3
Résultat void