protected void DrawFrame(Graphics graphics, Border border) { if (this.DrawBorder == true) { border.DrawBorder(graphics, this.ClientRectangle); } }
private void DrawFrame(Graphics graphics) { if (this.styleDecorator.DrawBorder) { Border b = this.CreateDefaultBorder(); b.DrawBorder(graphics, this.styleDecorator.DisplayRectangle); } }
private void DrawFrame() { if (this.StyleDecorator.DrawBorder) { Border b = this.CreateDefaultBorder(); b.DrawBorder(this.PdfWriter.DirectContent, ConvertToPdfRectangle(), this.StyleDecorator); } }
private void DrawFrame() { if (this.styleDecorator.DrawBorder) { Border b = this.CreateDefaultBorder(); iTextSharp.text.Rectangle rect = ConvertToPdfRectangle(); b.DrawBorder(this.pdfWriter.DirectContent, rect, this.styleDecorator); } }
public static void DrawBorder(Graphics graphics, BaseStyleDecorator decorator) { if (decorator.DrawBorder) { if (decorator.FrameColor == Color.Empty) { decorator.FrameColor = decorator.ForeColor; } Border border = new Border(new BaseLine(decorator.FrameColor, System.Drawing.Drawing2D.DashStyle.Solid, 1)); border.DrawBorder(graphics, decorator.DisplayRectangle); } }
public static void DrawBorder (Graphics graphics,BaseStyleDecorator decorator) { if (decorator.DrawBorder) { if (decorator.FrameColor == Color.Empty) { decorator.FrameColor = decorator.ForeColor; } Border border = new Border(new BaseLine (decorator.FrameColor,System.Drawing.Drawing2D.DashStyle.Solid,1)); border.DrawBorder(graphics,decorator.DisplayRectangle); } }
public static void Continue(bool success) { if (success) { _currentLevel++; NextLevel(); Border.DrawBorder(); } else { Start(); } }