Beispiel #1
0
 public static void DrawObjectEntryRect(this IDrawing drawing, ObjectEntry objectEntry,
                                        System.Drawing.Color color, double yMod)
 {
     drawing.DrawRectangle(new System.Drawing.RectangleF()
     {
         X      = (float)objectEntry.X,
         Y      = (float)(objectEntry.Y + yMod),
         Width  = (float)objectEntry.Width,
         Height = (float)objectEntry.Height
     }, color, 2.0f);
 }