Home
last modified time | relevance | path

Searched refs:ColorAsInt (Results 1 – 8 of 8) sorted by relevance

/external/skia/modules/canvaskit/tests/
Dcore.spec.js277 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 …]
Dskottie.spec.js287 expect(colors[0].value).toEqual(CanvasKit.ColorAsInt(255,0,0,255));
309 expect(colors[0].value).toEqual(CanvasKit.ColorAsInt(0,255,0,255));
Dcanvas.spec.js398 canvas.drawColorInt(CanvasKit.ColorAsInt(200, 200, 200, 255), CanvasKit.BlendMode.SrcOver);
/external/skia/modules/canvaskit/npm_build/types/
Dcanvaskit-wasm-tests.ts99 [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);
Dindex.d.ts48 ColorAsInt(r: number, g: number, b: number, a?: number): ColorInt; method
/external/skia/modules/canvaskit/
Dcolor.js20 CanvasKit.ColorAsInt = function(r, g, b, a) { class in CanvasKit
Dexterns.js29 ColorAsInt: function() {}, method
DCHANGELOG.md406 - `CanvasKit.ColorAsInt`, `SkPaint.setColorComponents`, `SkPaint.setColorInt`,