Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API ScriptRegion IsRectValid

Last wiki revision 2023-08-15

Returns true if the region can be positioned on the screen. isValid = ScriptRegion:IsRectValid

  • isValid: - true if the region is a valid rectangle.

Valid regions must have either: For newly created regions, requires the client to have rendered the next frame before the rect is resolved and returns true. This can also be resolved during the same frame by calling / /.

  • Two opposite corners from or.
  • One point from and an explicit size (width, height) from.

Creates a frame and calls AnchorUtil.PrintAnchorGraph. Note that this implicitly calls.

Source

https://warcraft.wiki.gg/wiki/API_ScriptRegion_IsRectValid · retrieved 2023-11-13 · CC BY-SA 4.0

Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.

This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.