@comfyorg/comfyui-frontend-types 1.36.6 → 1.36.8
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/index.d.ts +2 -2
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -4936,7 +4936,7 @@ export declare class ComfyApp {
|
|
|
4936
4936
|
* @param out `x, y, width, height` are written to this array.
|
|
4937
4937
|
* @param ctx The canvas context to use for measuring text.
|
|
4938
4938
|
*/
|
|
4939
|
-
measure(out: Rect, ctx
|
|
4939
|
+
measure(out: Rect, ctx?: CanvasRenderingContext2D): void;
|
|
4940
4940
|
/**
|
|
4941
4941
|
* returns the bounding of the object, used for rendering purposes
|
|
4942
4942
|
* @param out {Rect?} [optional] a place to store the output, to free garbage
|
|
@@ -4949,7 +4949,7 @@ export declare class ComfyApp {
|
|
|
4949
4949
|
* Calculates the render area of this node, populating both {@link boundingRect} and {@link renderArea}.
|
|
4950
4950
|
* Called automatically at the start of every frame.
|
|
4951
4951
|
*/
|
|
4952
|
-
updateArea(ctx
|
|
4952
|
+
updateArea(ctx?: CanvasRenderingContext2D): void;
|
|
4953
4953
|
/**
|
|
4954
4954
|
* checks if a point is inside the shape of a node
|
|
4955
4955
|
*/
|