Tools · Particles and FX
Nine-patch panel
Stretchable panel textures for NinePatchRect and StyleBoxTexture. Corner styles, trim, ornaments, margin guides.
You need a stretchable panel texture with rounded corners and trim for a NinePatchRect or StyleBoxTexture.
This version
Synced 2026-09-22 from commit dd1d6cc.
- ·@font-face for the site's self-hosted Inter and Cormorant Garamond (/fonts), silent fallback offline
- ·Input.sample from assets/
A nine-patch panel is a texture that stretches in the middle while its corners stay fixed, used for buttons, dialogs and borders in NinePatchRect and StyleBoxTexture. This tool makes that panel PNG, plus the margin measurement Godot needs to keep the corners from stretching.
Pick a corner style (round, cut, notch, scoop, step or square), add outline, border and inner-line trim, and drop a corner ornament like a dot, diamond, star or bullseye. Turn on guides to see the margin in magenta, then copy a StyleBoxTexture .tres or a NinePatchRect .tscn straight into a Godot 4 project.