Quantcast
WoWInterface - View Single Post - SetStartPoint() offsets not working?
View Single Post
10-19-20, 01:29 PM   #2
Fizzlemizz
I did that?
 
Fizzlemizz's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Dec 2011
Posts: 1,306
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)
line1:SetEndPoint("TOPRIGHT", -10, -10)
Code:
line1:SetStartPoint("BOTTOMLEFT", f, "BOTTOMLEFT", 10, 10)
Attach the start of the line to "BOTTOMLEFT" of f at offset x of "BOTTOMLEFT", and offset y of 10 with the last 10 being ignored.
__________________
Fizzlemizz
Maintainer of Discord Unit Frames and Discord Art.
Author of FauxMazzle, FauxMazzleHUD and Move Pad Plus.

Last edited by Fizzlemizz : 10-19-20 at 01:38 PM.
  Reply With Quote