Skip to content

Commit 6c311da

Browse files
committed
(#40) Added highlightScreenRegion to screen-action-provider.interface.ts
1 parent 013410c commit 6c311da

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

lib/provider/native/screen-action-provider.interface.ts

+9
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,15 @@ export interface ScreenActionProvider {
2323
*/
2424
grabScreenRegion(region: Region): Promise<Image>;
2525

26+
/**
27+
* Highlights a screen {@link Region} for a given duration by overlaying it with an opaque window
28+
*
29+
* @param region The {@link Region} to highlight
30+
* @param duration The highlight duration
31+
* @param opacity Overlay opacity
32+
*/
33+
highlightScreenRegion(region: Region, duration: number, opacity: number): Promise<void>;
34+
2635
/**
2736
* screenWidth returns a systems main screen width
2837
*

0 commit comments

Comments
 (0)