public void SetDepth(Pixel depth) { this.depth = depth; }
public Figure(Pixel pixel, Pixel step) : this(pixel) { this.step = step; }
public void SetDepth(int dx, int dy) { depth = new Pixel(dx, dy); }
public Figure(Pixel pixel) { this.pixel = pixel; this.step = new Pixel(0, 0); }
public Figure(int x, int y, int sx, int sy) : this(x, y) { step = new Pixel(sx, sy); }
public Figure(int x, int y) { pixel = new Pixel(x, y); step = new Pixel(0, 0); }
public static void InitMinMax(Pixel _min, Pixel _max) { min = _min; max = _max; }
public static void InitMinMax(int minx, int miny, int maxx, int maxy) { min = new Pixel(minx, miny); max = new Pixel(maxx, maxy); }