C# Класс Canguro.Controller.Tracking.HoverPainter

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Описание методов

DrawText() публичный Метод

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
Результат void

MeasureText() публичный Метод

public MeasureText ( string text ) : Rectangle
text string
Результат System.Drawing.Rectangle

PaintLine() публичный Метод

public PaintLine ( Device device, Canguro line ) : void
device Device
line Canguro
Результат void

PaintLine() публичный Метод

public PaintLine ( Device device, System.Vector3 iPos, System.Vector3 jPos ) : void
device Device
iPos System.Vector3
jPos System.Vector3
Результат void

PaintPoint() публичный Метод

public PaintPoint ( Device device, System.Vector3 screenPosition ) : void
device Device
screenPosition System.Vector3
Результат void