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

◆ compositing_mode() [1/2]

xtd::drawing::drawing_2d::compositing_mode xtd::drawing::graphics::compositing_mode ( ) const
noexcept

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

Returns
This property specifies a member of the xtd::drawing::drawing_2d::compositing_mode enumeration. The default is xtd::drawing::drawing_2d::compositing_mode::source_over.
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.