xtd 0.2.0
Loading...
Searching...
No Matches

◆ compositing_mode() [2/2]

graphics & xtd::drawing::graphics::compositing_mode ( xtd::drawing::drawing_2d::compositing_mode  value)

Sets a value that specifies how composited images are drawn to this xtd::drawing::graphics.

Parameters
valueThis property specifies a member of the CompositingMode enumeration. The default is SourceOver.
Returns
This current instance.
Remarks
The compositing mode determines whether pixels from a source image overwrite or are combined with background pixels.
Note
You should not use a xtd::drawing::graphics::compositing_mode property value of xtd::drawing::graphics::source_copy when the xtd::drawing::graphics::text_rendering_hint property is set to xtd::drawing::graphics::text_rendering_hint::clear_type_grid_fit. An exception could occur or the image may not render correctly.