Returns the given position and tangent line for the distance on the given contour. The return value is 4 floats in this order: posX, posY, vecX, vecY.
will be pinned between 0 and length().
Optionaloutput: PosTanif provided, the four floats of the PosTan will be copied into this array instead of allocating a new one.
Returns an Path representing the segement of this contour.
will be pinned between 0 and length()
will be pinned between 0 and length()
Returns true if the contour is closed.
Returns the length of this contour.
CanvasKit is built with Emscripten and Embind. Embind adds the following methods to all objects that are exposed with it. This _type field is necessary for the TypeScript compiler to differentiate between opaque types such as Shader and ColorFilter. It doesn't exist at runtime.