private void SetMarkers() { Rect bounds = GetFieldBounds(); ShapeUtils.SetMarker(blMark, bounds.Left, bounds.Bottom); ShapeUtils.SetMarker(tlMark, bounds.Left, bounds.Top); ShapeUtils.SetMarker(trMark, bounds.Right, bounds.Top); ShapeUtils.SetMarker(brMark, bounds.Right, bounds.Bottom); }
private void SetMarkers() { ShapeUtils.SetMarker(blMark, _bounds.Left, _bounds.Bottom); ShapeUtils.SetMarker(tlMark, _bounds.Left, _bounds.Top); ShapeUtils.SetMarker(trMark, _bounds.Right, _bounds.Top); ShapeUtils.SetMarker(brMark, _bounds.Right, _bounds.Bottom); ShapeUtils.SetMarker(cMark, (_bounds.Left + _bounds.Right) / 2, (_bounds.Top + _bounds.Bottom) / 2); }
void SetMarkers() { ShapeUtils.SetMarker(selMarker1, line.X1, line.Y1); ShapeUtils.SetMarker(selMarker2, line.X2, line.Y2); }