/// <summary> /// Алгоритм отрисовки кисти /// </summary> /// <param name="graphics"></param> /// <param name="gameTime"></param> /// <param name="position"></param> public override void AlgorithmDrawable(Graphics graphics, GameTime gameTime, Vector2 position) { Point p = position.ConvertToPoint(); graphics.DrawRectangle(new Rectangle(p.X, p.Y, 50, 50), Color, BorderLenght); }