FillRenderer
Renders spreadsheet pattern and gradient fills into one or more graphics rectangles.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.RadSpreadsheet.dll
Syntax:
public static class FillRenderer
Inheritance: objectFillRenderer
Methods
Renders the configured linear, corner-based, or center-based gradient in each target rectangle.
Theme-based gradient colors are resolved through colorScheme.
public static void RenderFill(IGraphics graphics, GradientFill fill, ThemeColorScheme colorScheme, params RectangleF[] rects)
The graphics surface used for rendering.
fillGradientFillThe gradient definition; if null, nothing is drawn.
colorSchemeThemeColorSchemeThe theme color scheme used to resolve the gradient colors.
rectsRectangleF[]The destination rectangles to fill.
Renders a pattern fill, tiling non-solid patterns across each target rectangle.
Theme-based fill colors are resolved through colorScheme.
public static void RenderFill(IGraphics graphics, PatternFill fill, ThemeColorScheme colorScheme, params RectangleF[] rects)
The graphics surface used for rendering.
fillPatternFillThe pattern definition; if null, nothing is drawn.
colorSchemeThemeColorSchemeThe theme color scheme used to resolve the fill colors.
rectsRectangleF[]The destination rectangles to fill.