Searched refs:ColorAsInt (Results 1 – 8 of 8) sorted by relevance
/external/skia/modules/canvaskit/tests/ |
D | core.spec.js | 277 colors.push(CanvasKit.ColorAsInt( 85, 170, 10, 128)); // light green 278 colors.push(CanvasKit.ColorAsInt( 51, 51, 191, 128)); // light blue 279 colors.push(CanvasKit.ColorAsInt( 0, 0, 0, 128)); 280 colors.push(CanvasKit.ColorAsInt(256, 256, 256, 128)); 311 CanvasKit.ColorAsInt( 85, 170, 10, 128), // light green 312 CanvasKit.ColorAsInt( 51, 51, 191, 128), // light blue 313 CanvasKit.ColorAsInt( 0, 0, 0, 128), 314 CanvasKit.ColorAsInt(255, 255, 255, 128), 514 CanvasKit.ColorAsInt(0, 255, 255, 0), 515 CanvasKit.ColorAsInt(0, 0, 255, 255), [all …]
|
D | skottie.spec.js | 287 expect(colors[0].value).toEqual(CanvasKit.ColorAsInt(255,0,0,255)); 309 expect(colors[0].value).toEqual(CanvasKit.ColorAsInt(0,255,0,255));
|
D | canvas.spec.js | 398 canvas.drawColorInt(CanvasKit.ColorAsInt(200, 200, 200, 255), CanvasKit.BlendMode.SrcOver);
|
/external/skia/modules/canvaskit/npm_build/types/ |
D | canvaskit-wasm-tests.ts | 99 [CK.ColorAsInt(100, 110, 120), CK.ColorAsInt(130, 140, 150)]); 109 canvas.drawColorInt(CK.ColorAsInt(100, 110, 120)); 110 canvas.drawColorInt(CK.ColorAsInt(100, 110, 120), CK.BlendMode.ColorDodge); 210 const colorThree = CK.ColorAsInt(240, 230, 220); // $ExpectType number 401 paint.setColorInt(CK.ColorAsInt(20, 30, 40)); 402 paint.setColorInt(CK.ColorAsInt(20, 30, 40), CK.ColorSpace.SRGB);
|
D | index.d.ts | 48 ColorAsInt(r: number, g: number, b: number, a?: number): ColorInt; method
|
/external/skia/modules/canvaskit/ |
D | color.js | 20 CanvasKit.ColorAsInt = function(r, g, b, a) { class in CanvasKit
|
D | externs.js | 29 ColorAsInt: function() {}, method
|
D | CHANGELOG.md | 406 - `CanvasKit.ColorAsInt`, `SkPaint.setColorComponents`, `SkPaint.setColorInt`,
|