ResizeGripStyle
Styling and rendering interface for bottom-right window resize grips, including preset TRIANGLE and LINES patterns.
Overview
ResizeGripStyle renders the corner grab handle used to resize floating windows.
Built-in Styles
| Preset | Visual Style |
|---|---|
ResizeGripStyle.TRIANGLE |
Solid or shaded corner triangle. |
ResizeGripStyle.LINES |
Diagonal textured grip ridges. |
Custom Resize Grip Painter
Related links
- DockTheme: Styling theme for the docking system configuring palette colors (DockColor), tab geometry, split handles, shadows, and window resize grips.
API
ResizeGripStyle::paint(DrawScope, float, float, float, float, ColorView)
Paints the custom resize grip into the provided drawing scope.
| Parameter | Type | Description |
|---|---|---|
draw |
DrawScope |
DrawScope used for 2D rendering. |
right |
float |
Right edge X coordinate. |
bottom |
float |
Bottom edge Y coordinate. |
size |
float |
Grip size in pixels. |
cornerRadius |
float |
Corner radius of the window. |
color |
ColorView |
Color of the grip lines or indicator. |