Draws a rectangle onto the target device context, and then fills the rectangle with the specified pattern and color.
graphics
The destination Graphics object
destRect
Rectangle to be used as the display destination rectangle.
patternStyle
Filling style. For possible values refer to SpecialEffectsPatternStyle.
backColor
Value that specifies the background color.
foreColor
Value that specifies the foreground color.
For general information, Implementing Special Effects.
This example shows the minimum requirements for using the GradientPatternFillRectangle(Graphics,Rectangle,SpecialEffectsPatternStyle,Color,Color) method to draw and fill a rectangle with a pattern and color.
Products |
Support |
Feedback: GradientPatternFillRectangle(Graphics,Rectangle,SpecialEffectsPatternStyle,Color,Color) Method - Leadtools.SpecialEffects |
Introduction |
Help Version 19.0.2017.3.21
|