simplifying

This commit is contained in:
Michael Freno
2025-11-13 17:39:26 -05:00
parent 614536a3df
commit 5026f780cf

View File

@@ -334,31 +334,6 @@ Gui.new({
}) })
``` ```
### Combining with Corner Radius
You can use cornerRadius with themed elements:
```lua
Gui.new({
themeComponent = "button",
cornerRadius = 10, -- Clips theme to rounded corners
-- ...
})
```
### Border Overlay
Add custom borders on top of themes:
```lua
Gui.new({
themeComponent = "panel",
border = { top = true, bottom = true, left = true, right = true },
borderColor = Color.new(1, 1, 0, 1), -- Yellow border on top of theme
-- ...
})
```
## Corner Scaling ## Corner Scaling
By default, 9-patch corners and non-stretched edges are rendered at their original pixel size (1:1). You can scale corners using a numeric multiplier: By default, 9-patch corners and non-stretched edges are rendered at their original pixel size (1:1). You can scale corners using a numeric multiplier: