Links |
---|
Removes anchor points associated with this Region.
region:ClearAllPoints() region:ClearPointByName(point)
Arguments
- point
- string - One of the anchors to remove.
Details
- Clearing points has immediate effect if the screen remains undrawn since the last Region:SetPoint(), Region:SetSize() or similar.
- Otherwise, the frame repositions (or hides) the next time its anchors or size are set. In this state, Region:GetNumPoints() updates but Region:IsRectValid() defers.
Patch changes
Patch 9.0.1 (2020-10-13): Added ClearPointByName().
Patch 8.0.1 (2018-07-17): Clearing points no longer triggers anchor-processing.[1]
References
- ^
Aerythlea 2018-11-14. Battle for Azeroth Addon Changes. “We made several improvements to the performance of anchor-processing”