Lines Matching defs:Path
6 // Anything that modifies an exposed class (e.g. Path) should be set
52 CanvasKit.Path.MakeFromCmds = function(cmds) {
54 var path = CanvasKit.Path._MakeFromCmds(cmdPtr, cmds.length);
60 CanvasKit.Path.MakeFromVerbsPointsWeights = function(verbs, pts, weights) {
65 var path = CanvasKit.Path._MakeFromVerbsPointsWeights(
73 CanvasKit.Path.prototype.addArc = function(oval, startAngle, sweepAngle) {
81 CanvasKit.Path.prototype.addOval = function(oval, isCCW, startIndex) {
91 CanvasKit.Path.prototype.addPath = function() {
136 CanvasKit.Path.prototype.addPoly = function(points, close) {
143 CanvasKit.Path.prototype.addRect = function(rect, isCCW) {
149 CanvasKit.Path.prototype.addRRect = function(rrect, isCCW) {
156 CanvasKit.Path.prototype.addVerbsPointsWeights = function(verbs, points, weights) {
168 CanvasKit.Path.prototype.arc = function(x, y, radius, startAngle, endAngle, ccw) {
169 // emulates the HTMLCanvas behavior. See addArc() for the Path version.
173 var temp = new CanvasKit.Path();
180 // Appends arc to Path. Arc added is part of ellipse
184 CanvasKit.Path.prototype.arcToOval = function(oval, startAngle, sweepAngle, forceMoveTo) {
190 // Appends arc to Path. Arc is implemented by one or more conics weighted to
204 CanvasKit.Path.prototype.arcToRotated = function(rx, ry, xAxisRotate, useSmallArc, isCCW, x, y) {
209 // Appends arc to Path, after appending line if needed. Arc is implemented by conic
211 // last Path point to (x1, y1), and tangent from (x1, y1) to (x2, y2). Arc
214 // If last Path Point does not start Arc, arcTo appends connecting Line to Path.
218 // tangents are nearly parallel, arcTo appends Line from last Path Point to (x1, y1).
222 CanvasKit.Path.prototype.arcToTangent = function(x1, y1, x2, y2, radius) {
227 CanvasKit.Path.prototype.close = function() {
232 CanvasKit.Path.prototype.conicTo = function(x1, y1, x2, y2, w) {
240 CanvasKit.Path.prototype.computeTightBounds = function(optionalOutputArray) {
250 CanvasKit.Path.prototype.cubicTo = function(cp1x, cp1y, cp2x, cp2y, x, y) {
255 CanvasKit.Path.prototype.dash = function(on, off, phase) {
265 CanvasKit.Path.prototype.getBounds = function(optionalOutputArray) {
275 CanvasKit.Path.prototype.lineTo = function(x, y) {
280 CanvasKit.Path.prototype.moveTo = function(x, y) {
285 CanvasKit.Path.prototype.offset = function(dx, dy) {
292 CanvasKit.Path.prototype.quadTo = function(cpx, cpy, x, y) {
297 CanvasKit.Path.prototype.rArcTo = function(rx, ry, xAxisRotate, useSmallArc, isCCW, dx, dy) {
302 CanvasKit.Path.prototype.rConicTo = function(dx1, dy1, dx2, dy2, w) {
308 CanvasKit.Path.prototype.rCubicTo = function(cp1x, cp1y, cp2x, cp2y, x, y) {
313 CanvasKit.Path.prototype.rLineTo = function(dx, dy) {
318 CanvasKit.Path.prototype.rMoveTo = function(dx, dy) {
324 CanvasKit.Path.prototype.rQuadTo = function(cpx, cpy, x, y) {
329 CanvasKit.Path.prototype.stroke = function(opts) {
344 CanvasKit.Path.prototype.transform = function() {
364 CanvasKit.Path.prototype.trim = function(startT, stopT, isComplement) {
910 CanvasKit.Path.prototype.getPoint = function(idx, optionalOutput) {