public void Display(HWindow windowHandle) { windowHandle.SetColor("magenta"); LineRegions?.DispObj(windowHandle); windowHandle.SetColor("green"); CrossedUsed?.DispObj(windowHandle); windowHandle.SetDraw("margin"); windowHandle.SetColor("orange"); FindLineRects?.DispObj(windowHandle); windowHandle.SetColor("green"); windowHandle.SetDraw("fill"); windowHandle.SetLineWidth(3); Edges?.DispObj(windowHandle); windowHandle.SetLineWidth(1); windowHandle.SetDraw("margin"); windowHandle.SetColor("red"); Line.DisplayGraphics(windowHandle); windowHandle.SetColor("firebrick"); DisplayPointMarkers(windowHandle); }
public FindLineManager(ISnackbarMessageQueue messageQueue = null) { CrossesIgnored.GenEmptyObj(); LineRegions.GenEmptyObj(); FindLineRects.GenEmptyObj(); Edges.GenEmptyObj(); MessageQueue = messageQueue; }
public FindLineManager(Dictionary <string, FindLineFeeding> findLineFeedings, ISnackbarMessageQueue messageQueue = null) { FindLineFeedings = findLineFeedings; CrossesIgnored.GenEmptyObj(); LineRegions.GenEmptyObj(); FindLineRects.GenEmptyObj(); Edges.GenEmptyObj(); MessageQueue = messageQueue; }
private void DisplayCrosses(HWindow windowHandle) { windowHandle.SetDraw("margin"); windowHandle.SetLineWidth(1); windowHandle.SetColor("red"); CrossesIgnored?.DispObj(windowHandle); windowHandle.SetColor("magenta"); windowHandle.SetLineWidth(3); FindLineRects?.DispObj(windowHandle); windowHandle.SetColor("blue"); LineRegions?.DispObj(windowHandle); }