Home
last modified time | relevance | path

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

/third_party/skia/modules/canvaskit/tests/
Dcore.spec.js284 CanvasKit.ColorAsInt( 85, 170, 10, 128), // light green
285 CanvasKit.ColorAsInt( 51, 51, 191, 128), // light blue
286 CanvasKit.ColorAsInt( 0, 0, 0, 128),
287 CanvasKit.ColorAsInt(256, 256, 256, 128),
322 CanvasKit.ColorAsInt( 85, 170, 10, 128), // light green
323 CanvasKit.ColorAsInt( 51, 51, 191, 128), // light blue
324 CanvasKit.ColorAsInt( 0, 0, 0, 128),
325 CanvasKit.ColorAsInt(255, 255, 255, 128),
525 CanvasKit.ColorAsInt(0, 255, 255, 0),
526 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);
/third_party/skia/modules/canvaskit/npm_build/types/
Dcanvaskit-wasm-tests.ts100 [CK.ColorAsInt(100, 110, 120), CK.ColorAsInt(130, 140, 150)]);
110 canvas.drawColorInt(CK.ColorAsInt(100, 110, 120));
111 canvas.drawColorInt(CK.ColorAsInt(100, 110, 120), CK.BlendMode.ColorDodge);
209 const colorThree = CK.ColorAsInt(240, 230, 220); // $ExpectType number
405 paint.setColorInt(CK.ColorAsInt(20, 30, 40));
406 paint.setColorInt(CK.ColorAsInt(20, 30, 40), CK.ColorSpace.SRGB);
Dindex.d.ts48 ColorAsInt(r: number, g: number, b: number, a?: number): ColorInt; method
/third_party/skia/modules/canvaskit/
Dcolor.js20 CanvasKit.ColorAsInt = function(r, g, b, a) { class in CanvasKit
Dexterns.js29 ColorAsInt: function() {}, method
DCHANGELOG.md513 - `CanvasKit.ColorAsInt`, `SkPaint.setColorComponents`, `SkPaint.setColorInt`,