示例#1
0
 public void SetDepth(Pixel depth)
 {
     this.depth = depth;
 }
示例#2
0
 public Figure(Pixel pixel, Pixel step)
     : this(pixel)
 {
     this.step = step;
 }
示例#3
0
 public void SetDepth(int dx, int dy)
 {
     depth = new Pixel(dx, dy);
 }
示例#4
0
 public Figure(Pixel pixel)
 {
     this.pixel = pixel;
     this.step  = new Pixel(0, 0);
 }
示例#5
0
 public Figure(int x, int y, int sx, int sy)
     : this(x, y)
 {
     step = new Pixel(sx, sy);
 }
示例#6
0
 public Figure(int x, int y)
 {
     pixel = new Pixel(x, y);
     step  = new Pixel(0, 0);
 }
示例#7
0
 public static void InitMinMax(Pixel _min, Pixel _max)
 {
     min = _min;
     max = _max;
 }
示例#8
0
 public static void InitMinMax(int minx, int miny, int maxx, int maxy)
 {
     min = new Pixel(minx, miny);
     max = new Pixel(maxx, maxy);
 }