vcl-cxcustomcanvas-4eb6df4d.md
Enumerates area fill modes available for rendering visual elements in DevExpress components.
TdxFillOptionsMode = (
Clear,
Solid,
Gradient,
Texture,
Hatch
);
| Name | Description | Example |
|---|---|---|
Clear |
An area is transparent in this mode. All active fill settings are ignored.
|
|
| Solid |
Default. An area is filled with a solid primary color. All other fill settings have no effect in this mode.
|
|
| Gradient |
An area is filled with a linear gradient based on primary and secondary fill colors. The GradientMode property value determines the gradient direction in this mode.
|
|
| Texture |
An area is tiled with a texture. All other fill settings have no effect in this mode.
This mode is enabled automatically when you load an image to the Texture container.
|
|
| Hatch |
An area is filled with a hatch pattern. The primary color is used to fill the background while the secondary color is applied to the active hatch pattern.
|
|
The TdxFillOptions.Mode property references the TdxFillOptionsMode type.
Note
TdxFillOptionsMode is a scoped enumeration type. Use the type name together with a scope resolution token (. in Delphi or :: in C++Builder) followed by an enumeration value to refer to this value. For example, use TdxFillOptionsMode.Hatch (in Delphi) or TdxFillOptionsMode::Hatch (in C++Builder) to refer to the Hatch value in code.
See Also