WoW:XML/RelDimension: Difference between revisions

(Created page with "{{uixml}} RelDimension")
 
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{uixmltype}}
{{uixmltype}}


[[XML/RelDimension|RelDimension]] is a type used for defining values that relate to the UI coordinate system. See the [[XML/RelValue|RelValue]] and [[XML/Value|Value]] for value pair use types. The RelDimension type can be used for '''Size''', '''Position''' and others, and can be found on [[XML/LayoutFrame|LayoutFrame]], [[XML/Anchor|Anchor]], and others.
[[XML/RelDimension|RelDimension]] is used for defining values that relate to the UI coordinate system. See the [[XML/RelValue|RelValue]] and [[XML/Value|Value]] for value pair use types. The RelDimension type can be used for '''Size''', '''Position''' and others, and can be found on [[XML/LayoutFrame|LayoutFrame]], [[XML/Anchor|Anchor]], and others.


== Inheritance ==
== Inheritance ==
Line 10: Line 10:


== Attributes ==
== Attributes ==
* x (float) - defines a scalar value thats horizontally opposed
* x (float) 0 to 1 - defines a scalar value thats horizontally opposed, from left to right
* y (float) - defines a scalar value thats vertically opposed
* y (float) 0 to 1 - defines a scalar value thats vertically opposed, from bottom to top


== Summary ==
== Summary ==