Rasterizer:getCurves
EditReturns the bezier curve control points defining the shape of a glyph.
curves = Rasterizer:getCurves(glyph, three)Arguments
| Name | Type | Description |
| glyph | string | number | A character or codepoint. |
| three | boolean | Whether the control points should be 3D or 2D. |
Returns
| Name | Type | Description |
| curves | table | A table of curves. Each curve is a table of numbers representing the control points (2 for a line, 3 for a quadratic curve, etc.). |