DXGraphics.CompositingMode Property
In This Article
Gets or sets how to draw composited images
Namespace: DevExpress.Drawing
Assembly: DevExpress.Drawing.v24.2.dll
NuGet Package: DevExpress.Drawing
#Declaration
public DXCompositingMode CompositingMode { get; set; }
#Property Value
Type | Description |
---|---|
DXCompositing |
An enumeration value that determines the compositing mode. |
Available values:
Name | Description |
---|---|
Source |
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. |
Source |
When a source color is rendered, it overwrites the background color. |
#Remarks
Note
If you set the Compositing
property to Source
when the DXGraphics.Clear
, an exception could occur or the image may not render correctly.
See Also