C# Class Devcorner.NIdenticon.BlockGenerators.TriangleGenerator

Inheritance: BlockGenerator
Afficher le fichier Open project: RobThree/NIdenticon

Méthodes publiques

Méthode Description
Draw ( Graphics g, Rectangle r, Brush bg, Brush fg, uint seed, bool fliphorizontal ) : void
TriangleGenerator ( int weight ) : System.Drawing

Private Methods

Méthode Description
GetTriangle ( int type, Rectangle r ) : System.Drawing.Point[]

Method Details

Draw() public méthode

public Draw ( Graphics g, Rectangle r, Brush bg, Brush fg, uint seed, bool fliphorizontal ) : void
g System.Drawing.Graphics
r System.Drawing.Rectangle
bg System.Drawing.Brush
fg System.Drawing.Brush
seed uint
fliphorizontal bool
Résultat void

TriangleGenerator() public méthode

public TriangleGenerator ( int weight ) : System.Drawing
weight int
Résultat System.Drawing