# SimpleLineAPI (widget methods): World of Warcraft Forever API

Forever 1.60.1 (70959), Interface 16001, Lua 5.1, from Blizzard's own API documentation. Page: https://wowaddons.gg/forever-api/SimpleLineAPI

## Functions

### ClearAllPoints

```lua
self:ClearAllPoints()
```

Protected: only Blizzard's own code may call it.

### GetEndPoint

```lua
relativePoint, relativeTo, offsetX, offsetY = self:GetEndPoint()
```

Returns:
- `relativePoint`: FramePoint
- `relativeTo`: ScriptRegion
- `offsetX`: uiUnit
- `offsetY`: uiUnit

### GetHitRectThickness

```lua
thickness = self:GetHitRectThickness()
```

Returns:
- `thickness`: uiUnit

### GetStartPoint

```lua
relativePoint, relativeTo, offsetX, offsetY = self:GetStartPoint()
```

Returns:
- `relativePoint`: FramePoint
- `relativeTo`: ScriptRegion
- `offsetX`: uiUnit
- `offsetY`: uiUnit

### GetThickness

```lua
thickness = self:GetThickness()
```

Returns:
- `thickness`: uiUnit

### SetEndPoint

```lua
self:SetEndPoint(relativePoint, relativeTo, [offsetX], [offsetY])
```

Arguments:
- `relativePoint`: FramePoint
- `relativeTo`: ScriptRegion
- `offsetX`: uiUnit, default 0
- `offsetY`: uiUnit, default 0

### SetHitRectThickness

```lua
self:SetHitRectThickness(thickness)
```

Arguments:
- `thickness`: uiUnit

### SetStartPoint

```lua
self:SetStartPoint(relativePoint, relativeTo, [offsetX], [offsetY])
```

Arguments:
- `relativePoint`: FramePoint
- `relativeTo`: ScriptRegion
- `offsetX`: uiUnit, default 0
- `offsetY`: uiUnit, default 0

### SetThickness

```lua
self:SetThickness(thickness)
```

Arguments:
- `thickness`: uiUnit

---
Make an addon with your AI: tell it "Read https://wowaddons.gg/agents.md, then make me a World of Warcraft Forever addon that …, try it with me in the game, and publish it."
