Fandom

WoWWiki

XML/AbsInset

< XML

104,634pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

XML UI ← XML types < AbsInset

AbsInset is the 'unit based' integer value for Inset which alters the hit rectangle or 'hit rect' for user input.

Inheritance Edit

Inherited by: none, Inherits: none, Defined in: Inset

Elements Edit

none

Attributes Edit

  • left (int) - Default is '0'.
  • right (int) - Default is '0'.
  • top (int) - Default is '0'.
  • bottom (int) - Default is '0'.

Summary Edit

AbsInset alters the active hit area for positional input devices. Hit rects are used for determining which screen element belongs to an input event by having an associated screen rectangle.

Example Edit

<Frame name="MyFrame">
  <Layers>
Layer definitions are only valid on pages of namespace "Layer"
  </Layers>
</Frame>

This example will show a frame with several textures, with altered 'hit rect' insets.

Also on Fandom

Random Wiki