C# 클래스 Microsoft.AzureCat.Samples.DeviceSimulator.Shape

파일 보기 프로젝트 열기: paolosalvatori/servicefabriceventhubdemo 1 사용 예제들

공개 메소드들

메소드 설명
Draw ( Graphics g ) : void
RenderObject ( Graphics g ) : void
Tick ( ) : void

보호된 메소드들

메소드 설명
RestoreTransform ( Graphics g ) : void

Simply restores the original state of the Graphics object

SetupTransform ( Graphics g ) : void

Sets up the transform for each shape

As each shape is drawn the transform for that shape including rotation and location is made to a new Matrix object. This matrix is used to modify the graphics transform For each shape

메소드 상세

Draw() 공개 메소드

public Draw ( Graphics g ) : void
g System.Drawing.Graphics
리턴 void

RenderObject() 공개 메소드

public RenderObject ( Graphics g ) : void
g System.Drawing.Graphics
리턴 void

RestoreTransform() 보호된 메소드

Simply restores the original state of the Graphics object
protected RestoreTransform ( Graphics g ) : void
g System.Drawing.Graphics The Graphics object being drawn upon
리턴 void

SetupTransform() 보호된 메소드

Sets up the transform for each shape
As each shape is drawn the transform for that shape including rotation and location is made to a new Matrix object. This matrix is used to modify the graphics transform For each shape
protected SetupTransform ( Graphics g ) : void
g System.Drawing.Graphics The Graphics being drawn on
리턴 void

Tick() 공개 메소드

public Tick ( ) : void
리턴 void