# NumericRuleFormatterAPI (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/NumericRuleFormatterAPI

## Functions

### AddBreakpoint

```lua
self:AddBreakpoint(breakpoint)
```

Adds a new breakpoint to the formatter.

Arguments:
- `breakpoint`: NumericRuleFormatBreakpoint

### ClearBreakpoints

```lua
self:ClearBreakpoints()
```

Removes all configured breakpoints from the formatter.

### Copy

```lua
copy = self:Copy()
```

Returns a new copy of this formatter.

Returns:
- `copy`: NumericRuleFormatter

### GetBreakpoints

```lua
breakpoints = self:GetBreakpoints()
```

Returns a list of all configured breakpoints on this formatter.

Returns:
- `breakpoints`: NumericRuleFormatBreakpoint[]

### SetBreakpoints

```lua
self:SetBreakpoints(breakpoints)
```

Replaces all breakpoints on the formatter.

Arguments:
- `breakpoints`: NumericRuleFormatBreakpoint[]

---
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."
