# `Curves.Bezier.Curve`
[🔗](https://github.com/greetingsfellowhumans/curves/blob/main/lib/curves/bezier/curve.ex#L1)

This module is meant to only be used internally. You are probably looking for `Curves.define_bezier/2` or `Curves.solve/3`

# `t`

```elixir
@type t() :: %Curves.Bezier.Curve{
  mode: :edit | :run,
  opts: Curves.Utils.Types.opts(),
  origin: Nx.Tensor.t(),
  points: Nx.Tensor.t(),
  xmax: Curves.Utils.Types.coord(),
  xmin: Curves.Utils.Types.coord(),
  ymax: Curves.Utils.Types.coord(),
  ymin: Curves.Utils.Types.coord()
}
```

| field  	| description                                    	|
|--------	|------------------------------------------------	|
| `:points` 	| A tensor representing 2D points                	|
| `:xmax`   	| the highest x coord in the tensor              	|
| `:xmin`   	| the lowest x coord in the tensor               	|
| `:ymin`   	| the lowest y coord in the tensor               	|
| `:ymax`   	| the highest y coord in the tensor              	|
| `:mode`   	| Not yet used. Maybe removed in future versions 	|
| `:origin` 	| the origin of the graph.                       	|
| `:opts`   	| The keyword list of options                    	|

---

*Consult [api-reference.md](api-reference.md) for complete listing*
