q5 2.27.5 → 2.27.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/deno.json +1 -1
- package/package.json +1 -1
- package/q5.d.ts +3 -0
package/deno.json
CHANGED
package/package.json
CHANGED
package/q5.d.ts
CHANGED
|
@@ -540,6 +540,8 @@ circle(150, 100, 80);
|
|
|
540
540
|
|
|
541
541
|
/** ⬜️
|
|
542
542
|
* Sets the global opacity, which affects all subsequent drawing operations, except `background`. Default is 1, fully opaque.
|
|
543
|
+
*
|
|
544
|
+
* In q5 WebGPU this function only affects images.
|
|
543
545
|
* @param {number} alpha opacity level, ranging from 0 to 1
|
|
544
546
|
* @example
|
|
545
547
|
createCanvas(200);
|
|
@@ -4228,6 +4230,7 @@ fn vertexMain(v : VertexParams) -> FragParams {
|
|
|
4228
4230
|
f.fillColor = colors[i32(text.fillIndex)];
|
|
4229
4231
|
f.strokeColor = colors[i32(text.strokeIndex)];
|
|
4230
4232
|
f.strokeWeight = text.strokeWeight;
|
|
4233
|
+
f.edge = text.edge;
|
|
4231
4234
|
return f;
|
|
4232
4235
|
}`);
|
|
4233
4236
|
|