Creates a new path from the given list of path commands. If this fails, null will be returned instead.
Creates a new path by combining the given paths according to op. If this fails, null will be returned instead.
Interpolates between Path with point array of equal size. Copy verb array and weights to result, and set result path to a weighted average of this path array and ending path.
weight is most useful when between zero (ending path) and one (this path); will work with values outside of this range.
interpolate() returns undefined if path is not the same size as ending path. Call isInterpolatable() to check Path compatibility prior to calling interpolate().
Path replaced by interpolated averages or null if not interpolatable
Creates a new path from the provided SVG string. If this fails, null will be returned instead.
Creates a new path using the provided verbs and associated points and weights. The process reads the first verb from verbs and then the appropriate number of points from the FlattenedPointArray (e.g. 2 points for moveTo, 4 points for quadTo, etc). If the verb is a conic, a weight will be read from the WeightList. If the data is malformed (e.g. not enough points), the resulting path will be empty. If memory is passed in with Malloced TypedArrays, modifying the data after creating the path will result in undefined behavior.
the verbs that create this path, in the order of being drawn.
represents n points with 2n floats.
Optionalweights: WeightListused if any of the verbs are conics, can be omitted otherwise.
Contains the ways to create a Path.