Quantcast
XML <Line> Tag - ESOUI
Thread Tools Display Modes
12/13/19, 02:04 AM   #1
Fosterwerks
 
Fosterwerks's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2019
Posts: 1
XML <Line> Tag

Hi All!
Working on an addon and want to draw a simple line, but can't get the Line XML element to draw. I guess I could use a Backdrop element, but Line seemed much more appropriate (obviously). Am I misunderstanding what the Line element does? I see there are attributes for textures under the Line element, which really doesn't make sense to me. If this is indeed for drawing a line, since you can define a thickness, how does the Dimensions tag come into play? Any help would be much appreciated! Thanks!

Last edited by Fosterwerks : 12/14/19 at 08:39 PM.
  Reply With Quote
12/13/19, 05:52 AM   #2
sirinsidiator
 
sirinsidiator's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 1,439
The line element is used for the connections between keeps on the map in Cyrodiil. A texture is necessary for it to render. It's probably more appropriate to think of it as a directional texture control which is drawn from the top-left anchor to the bottom-right anchor with a specified height (=thickness).
__________________
https://www.imperialtradingcompany.eu/ - My Addons - The Vault (Early updates and experimental projects) - My patreon - My blog
>siri.exe MyAddon
Does your addon work? [y/n] n
There is a typo in there.
  Reply With Quote

ESOUI » Developer Discussions » Graphics Help » XML <Line> Tag

Thread Tools
Display Modes

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