SetStartPoint() offsets not working?
Are these definitions of SetStartPoint() and SetEndPoint() not accurate?
Or what am I doing wrong? Code:
local f = CreateFrame("Frame", nil, UIParent) |
The first entry refers to the point on the target object to want to anchor the start of the line too (there is no second "attachto" point al-la SetPoint()).
Code:
line1:SetStartPoint("BOTTOMLEFT", f, 10, 10) Code:
line1:SetStartPoint("BOTTOMLEFT", f, "BOTTOMLEFT", 10, 10) |
Ah, all right. Actually makes sense. Because a line does not have any other points than start and end... :o
Thank you very much! |
Oh hey more stuff that still needs to be documented but nobody else wants to do 😟
|
Quote:
|
All times are GMT -6. The time now is 07:47 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI