Line:SetEndPoint

From Warcraft Wiki
Jump to navigation Jump to search

Sets the end point for a line.

Line:SetEndPoint(relativePoint [, relativeTo] [, offsetX, offsetY])

Arguments

relativePoint
string : FramePoint
TOPLEFT, TOPRIGHT, BOTTOMLEFT, BOTTOMRIGHT
TOP, BOTTOM, LEFT, RIGHT, CENTER
relativeTo
ScriptRegion|string? - If omitted, anchors to the parent region. If explicitly passed nil, anchors relative to the screen dimensions.
offsetX
number? = 0
offsetY
number? = 0