vectortuta.blogg.se

Windows 8 transparent windows
Windows 8 transparent windows








windows 8 transparent windows

The GraphicsConfiguration class also provides the PERPIXEL_TRANSPARENT – The underlying platform supports shaped windows.This capability is required to implement windows that fade away. PERPIXEL_TRANSLUCENT – The underlying platform supports windows with per-pixel translucency.TRANSLUCENT – The underlying platform supports windows with uniform translucency, where each pixel has the same alpha value.GraphicsDevice.WindowTranslucency, to this method: You pass one of three enum values, defined in IsWindowTranslucencySupported(GraphicsDevice.WindowTranslucency) method that you can use for this purpose. Therefore, it is best practice to first check that the platform supports the capability that you want to implement. An UnsupportedOperationException exception is thrown when code attempts to invoke the setShape or setOpacity methods on a platform that does not support these capabilities. Not all platforms support all of these capabilities. Alternatively, to compile and run the example yourself, consult the example index. Click the Launch button to run the ShapedWindowDemo example using










Windows 8 transparent windows