C# Class Microsoft.AzureCat.Samples.AlertClient.Shape

Afficher le fichier Open project: paolosalvatori/servicefabriceventhubdemo Class Usage Examples

Méthodes publiques

Méthode Description
Draw ( Graphics g ) : void
RenderObject ( Graphics g ) : void
Tick ( ) : void

Méthodes protégées

Méthode Description
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

Method Details

Draw() public méthode

public Draw ( Graphics g ) : void
g System.Drawing.Graphics
Résultat void

RenderObject() public méthode

public RenderObject ( Graphics g ) : void
g System.Drawing.Graphics
Résultat void

RestoreTransform() protected méthode

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

SetupTransform() protected méthode

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
Résultat void

Tick() public méthode

public Tick ( ) : void
Résultat void