Exemplo n.º 1
0
 public Line(Point startPosition, Point endPosition, int width, Color color, bool show)
 {
     Id             = DX9Overlay.LineCreate(startPosition.X, startPosition.Y, endPosition.X, endPosition.Y, width, (uint)color.ToArgb(), show);
     _startPosition = startPosition;
     _endPosition   = endPosition;
     _width         = width;
     _color         = color;
     base.Visible   = show;
 }