Margins, corners and transparency
Figure 6. Content Fit and the four margins control the foreground picture’s usable area.
| Field | Effect |
|---|---|
| Left / Top / Right / Bottom Margin | Inset the foreground independently from each edge. The background remains a separate layer. |
| Border Radius | Common corner rounding in Visual Style. |
| Four corner overrides | -1 inherits the common radius; 0 makes that corner square; a positive value sets its curve. |
| Surface Opacity | Controls visibility. Check both the image and the background in gameplay. |
Start with equal margins, then change one side only when the design needs it. Very large margins can leave almost no room for the image. Corners clip the artwork to the element’s rounded shape; they do not edit the source file.
For an icon over a room, check its source transparency first. Do not rely on a black background becoming transparent automatically. A dark pixel in a normal image is still part of the image.
