EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > Developer Discussion > XML Modification Help & Info

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Unread 11-11-2005, 08:38 PM
GenesisRage GenesisRage is offline
A Darkpaw Brute
 
Join Date: Dec 2004
Server: Everfrost
Posts: 43
Default RectangleStyle explained

i didnt think i was the only one that found the rectanglestyle to be a bit confusing, so i ran through many tests to find out what exactly happends.

-first off, it does not need 9 elements, you can get away with just 1.
-how the images will line up all depend on sizes, but all are next to the center frame

Code:
+---+----------+----+
|   |          |    |
+-+-+----------+----+
  | |          |    |
  | |          |    |
  | |          |    |
  +-+----------+----+-+
  | |          |      |
  +-+----------+      |
               +------+
-notice how the the different sizes align with the center frame.
-the corners will always be a 1:1 ratio.
-the sides (n,s,e,w) are a 1:1 ratio from center to edge, but varry from corner to corner (n will be a varied width from nw to ne)

Shrink and Stretch
-these names were the hardest part, because they do no operate as you would image.

shrink=true, stretch=true: image will scale, and will not repeat
shrink=true, stretch=false: image will not scale, repeated image will scale
shrink=false, stretch=true:image will not scale, and will not repeat (default)
shrink=false, stretch=false: image will not scale, repeated image will not scale

shrink true=scale, false=dont scale
stretch true=dont repeat, false=repeat

-as you can see the words do not really match their meanings
-the way i remember is shrink=scale, stretch=opposite of repeat

with clever planning you can setup very useful rectanglestyle's. i decided to post this after working out a background with a large gradient where the bottom faded to black, and thought someone might be able to learn from my headache
Reply With Quote
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 01:46 PM.


Our Network
EQInterface | EQ2Interface | WoWInterface | LoTROInterface | ESOUI | MMOUI