C# 클래스 Canguro.Controller.Tracking.HoverPainter

파일 보기 프로젝트 열기: rforsbach/Treu-Structure 1 사용 예제들

공개 메소드들

메소드 설명
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