// Initialize the paint image public static void InitializePaintImage(Color imageColor) { serverForm.OutputText("Initialized image: R " + imageColor.R + " G " + imageColor.G + " B " + imageColor.B); paintImage = new PaintableSprite(); paintImage.upperLeft = new Vector2(75, 0); paintImage.GenerateTexture(device, device.Viewport.Width - 75, device.Viewport.Height, imageColor); SendImageData(null); }
// Initialize the paint pallet private void InitializePaintPallet() { paintPallet = new PaintableSprite(); paintPallet.upperLeft = new Vector2(0, GraphicsDevice.Viewport.Height - 70); paintPallet.GenerateTexture(GraphicsDevice, 70, 70, Color.White); }
// Initialize the paint image private void InitializePaintImage(Color imageColor) { paintImage = new PaintableSprite(); paintImage.upperLeft = new Vector2(75, 0); paintImage.GenerateTexture(GraphicsDevice, GraphicsDevice.Viewport.Width - 75, GraphicsDevice.Viewport.Height, imageColor); }