C# Класс Microsoft.AzureCat.Samples.AlertClient.Shape

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

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

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