DXGraphics.CompositingMode Property
Gets or sets how to draw composited images
Namespace: DevExpress.Drawing
Assembly: DevExpress.Drawing.v25.1.dll
NuGet Package: DevExpress.Drawing
Declaration
Property Value
| Type | Description |
|---|---|
| DXCompositingMode | An enumeration value that determines the compositing mode. |
Available values:
| Name | Description |
|---|---|
| SourceOver | When a source color is rendered, it blends with the background color. The blend is determined by the alpha component of the color being rendered. |
| SourceCopy | When a source color is rendered, it overwrites the background color. |
Remarks
Note
If you set the CompositingMode property to SourceCopy when the DXGraphics.TextRenderingHint property is set to ClearTypeGridFit, an exception could occur or the image may not render correctly.
See Also