Example #1
0
 public override void Draw(Fleux.Core.GraphicsHelpers.IDrawingGraphics drawingGraphics)
 {
     if (this.DrawingAction != null)
     {
         this.DrawingAction(drawingGraphics);
     }
 }
Example #2
0
        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));
        }
Example #3
0
 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));
     }
 }
Example #4
0
 public override void Draw(Fleux.Core.GraphicsHelpers.IDrawingGraphics drawingGraphics)
 {
     drawingGraphics.Color(System.Drawing.Color.Blue).FillRectangle(0, 0, this.Size.Width, this.Size.Height);
 }
Example #5
0
 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);
 }