Exemplo n.º 1
0
 protected void DrawFrame(Graphics graphics, Border border)
 {
     if (this.DrawBorder == true)
     {
         border.DrawBorder(graphics, this.ClientRectangle);
     }
 }
Exemplo n.º 2
0
 private void DrawFrame(Graphics graphics)
 {
     if (this.styleDecorator.DrawBorder)
     {
         Border b = this.CreateDefaultBorder();
         b.DrawBorder(graphics, this.styleDecorator.DisplayRectangle);
     }
 }
Exemplo n.º 3
0
 private void DrawFrame()
 {
     if (this.StyleDecorator.DrawBorder)
     {
         Border b = this.CreateDefaultBorder();
         b.DrawBorder(this.PdfWriter.DirectContent, ConvertToPdfRectangle(), this.StyleDecorator);
     }
 }
Exemplo n.º 4
0
 private void DrawFrame()
 {
     if (this.styleDecorator.DrawBorder)
     {
         Border b = this.CreateDefaultBorder();
         iTextSharp.text.Rectangle rect = ConvertToPdfRectangle();
         b.DrawBorder(this.pdfWriter.DirectContent, rect, this.styleDecorator);
     }
 }
Exemplo n.º 5
0
 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);
     }
 }
Exemplo n.º 6
0
		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);
			}
		}
Exemplo n.º 7
0
 public static void Continue(bool success)
 {
     if (success)
     {
         _currentLevel++;
         NextLevel();
         Border.DrawBorder();
     }
     else
     {
         Start();
     }
 }