Rasterizer:getCurves
EditReturns the bezier curve control points defining the shape of a glyph.
Arguments
Name | Type | Description |
character | string | A character. |
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.). |
Arguments
Name | Type | Description |
codepoint | number | A 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.). |