GraphicsCache(PaintEventArgs, XPaint) Constructor
Creates an instance of the GraphicsCache class.
Namespace: DevExpress.Utils.Drawing
Assembly: DevExpress.Utils.v24.2.dll
NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core
#Declaration
public GraphicsCache(
PaintEventArgs e,
XPaint paint
)
#Parameters
Name | Type | Description |
---|---|---|
e | Paint |
A Paint |
paint | DevExpress. |
A DevExpress. |
#Remarks
The constructor initializes newly created object properties with parameter values. It also initializes four hash tables used to store requested pens, solid and gradient brushes and fonts.
The Graphics property value is assigned to the GraphicsCache.Graphics property.