WoW:Edge file: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{uiaddon}} A special WoW resource texture type used to help render border on frames. Edge files are used for rendering frame borders, and are specified with the edgeFile at...") |
|||
| (One intermediate revision by one other user not shown) | |||
| Line 19: | Line 19: | ||
The frame border is then made by repeating the edge images in between the four corner images. | The frame border is then made by repeating the edge images in between the four corner images. | ||
[[Category:UI_technical_details]] | |||
Latest revision as of 04:48, 15 August 2023
A special WoW resource texture type used to help render border on frames.
Edge files are used for rendering frame borders, and are specified with the edgeFile attribute of a <Backdrop> tag, or the edgeFile element of a backdrop specification table.
An edge file is just a normal WoW texture image file (obeying the normal WoW file size rules), which will then be split horizontally by the UI engine into 8 equally sized slices (The actual file dimensions shouldn't matter as long as the width is a multiple of 8).
The slices are placed as follows (going from left to right)
- Left edge
- Right edge
- Top edge (Rotated 90 degrees Counterclockwise)
- Bottom edge (Rotated 90 degrees Counterclockwise)
- Top Left corner
- Top Right corner
- Bottom Left corner
- Bottom Right corner
The frame border is then made by repeating the edge images in between the four corner images.