Dalssoft.DiagramNet.RectangleElement.Draw C# (CSharp) Method

Draw() private method

private Draw ( Graphics g ) : void
g System.Drawing.Graphics
return void
		internal override void Draw(Graphics g)
		{
			IsInvalidated = false;

			Rectangle r = GetUnsignedRectangle();
			Brush b = GetBrush(r);			
			g.FillRectangle(b, r);

			DrawBorder(g, r);
			b.Dispose();
		}
		

Usage Example

Esempio n. 1
0
 internal void DrawSelectionRectangle(Graphics g)
 {
     selectionArea.Draw(g);
 }
All Usage Examples Of Dalssoft.DiagramNet.RectangleElement::Draw