public override void Draw(Fleux.Core.GraphicsHelpers.IDrawingGraphics drawingGraphics) { if (this.DrawingAction != null) { this.DrawingAction(drawingGraphics); } }
protected override void DrawTile(Fleux.Core.GraphicsHelpers.IDrawingGraphics drawingGraphics) { base.DrawTile(drawingGraphics); var tileX = this.currentInnerTile / 3; var tileY = this.currentInnerTile % 3; drawingGraphics.Color(Color.FromArgb(107, 194, 236)).FillRectangle(new Rectangle(58 * tileX, 58 * tileY, 57, 57)); }
public override void Draw(Fleux.Core.GraphicsHelpers.IDrawingGraphics drawingGraphics) { drawingGraphics.Style(this.TitleStyle) .DrawMultiLineText(this.title, this.Size.Width, this.textHeight); if (this.Content != null) { this.Content.Draw(drawingGraphics.CreateChild(this.Content.Location)); } }
public override void Draw(Fleux.Core.GraphicsHelpers.IDrawingGraphics drawingGraphics) { drawingGraphics.Color(System.Drawing.Color.Blue).FillRectangle(0, 0, this.Size.Width, this.Size.Height); }
public override void Draw(Fleux.Core.GraphicsHelpers.IDrawingGraphics drawingGraphics) { //drawingGraphics.Color(Color.Black).FillRectangle(new Rectangle(0, 0, this.Size.Width, this.Size.Height)); base.Draw(drawingGraphics); }