C# Class Canguro.Controller.Tracking.HoverPainter

Exibir arquivo Open project: rforsbach/Treu-Structure Class Usage Examples

Public Methods

Method 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 method

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
return void

MeasureText() public method

public MeasureText ( string text ) : Rectangle
text string
return System.Drawing.Rectangle

PaintLine() public method

public PaintLine ( Device device, Canguro line ) : void
device Device
line Canguro
return void

PaintLine() public method

public PaintLine ( Device device, System.Vector3 iPos, System.Vector3 jPos ) : void
device Device
iPos System.Vector3
jPos System.Vector3
return void

PaintPoint() public method

public PaintPoint ( Device device, System.Vector3 screenPosition ) : void
device Device
screenPosition System.Vector3
return void