コード例 #1
0
        private static void AddColumn2(Block block)
        {
            block.AddInner(Brushes.Gray, width: 75, height: 69, offsetTop: 29, offsetLeft: 315);

            block.AddInnerRows(
                new[] { Brushes.Gray, Brushes.Blue, Brushes.Yellow, Brushes.Blue, Brushes.Red },
                new[] { 36, 37, 38, 20, 26 },
                width: 51,
                offsetLeft: 492,
                offsetTop: 29);

            block.AddInnerRows(
                new[] { Brushes.White, Brushes.Red },
                new[] { 54, 60 },
                width: 59,
                offsetLeft: 543,
                offsetTop: 29);

            block.AddInner(Brushes.Red, width: 50, height: 50, offsetLeft: 602, offsetTop: 29);
        }
コード例 #2
0
 private static Block AddColumn8(Block block)
 {
     block = block.AddRight(Brushes.White, 77);
     block.AddInnerRows(
         new[] { Brushes.Red, Brushes.Blue, Brushes.Yellow, Brushes.Black, Brushes.Red, Brushes.Yellow, Brushes.Blue, Brushes.Black, Brushes.Yellow, Brushes.Red, Brushes.Invisible, Brushes.Red, Brushes.Black, Brushes.Yellow, Brushes.Red, Brushes.Blue, Brushes.Invisible, Brushes.Red, Brushes.Blue, Brushes.Yellow, Brushes.Blue },
         new[] { 17, 17, 25, 14, 13, 23, 5, 16, 18, 9, 25, 21, 17, 16, 14, 13, 18, 18, 18, 17, 17 },
         width: 26);
     return block;
 }