C# Class Devcorner.NIdenticon.BlockGenerators.TriangleGenerator

Inheritance: BlockGenerator
Datei anzeigen Open project: RobThree/NIdenticon

Public Methods

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

Private Methods

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

Method Details

Draw() public method

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
return void

TriangleGenerator() public method

public TriangleGenerator ( int weight ) : System.Drawing
weight int
return System.Drawing