SelectChunks() public static method

public static SelectChunks ( Bitmap b, Color selectionColor ) : void
b System.Drawing.Bitmap
selectionColor Color
return void
Example #1
0
 private void btnSelectChunks_Click(object sender, EventArgs e)
 {
     UpdateStatus("Expanding selection");
     RegionUtil.SelectChunks(imgRegion.Layers[SELECTIONLAYER].Image, imgRegion.SelectionColor);
     UpdateStatus("");
     imgRegion.Redraw();
     history.RecordSelectionState(imgRegion.Layers[SELECTIONLAYER].Image, "Select Chunks");
 }