Class EyeDropper
- Namespace
- CSharpToJavaScript.APIs.JS
- Assembly
- CSharpToJavaScript.dll
NOTE
ExperimentalEyeDropper interface represents an instance of an eyedropper tool that can be opened and used by the user to select colors from the screen.
[Value("EyeDropper")]
public class EyeDropper
- Inheritance
-
EyeDropper
- Inherited Members
Remarks
Constructors
EyeDropper()
public EyeDropper()
Remarks
-The EyeDropper interface it belongs to.
Methods
Open(ColorSelectionOptions)
NOTE
ExperimentalEyeDropper.open() method starts the eyedropper mode, returning a promise which is fulfilled once the user has selected a color and exited the eyedropper mode.
[Value("open")]
public Task<ColorSelectionResult> Open(ColorSelectionOptions options = null)
Parameters
optionsColorSelectionOptions
Returns
- Task<ColorSelectionResult>
A Promise that eventually resolves when the user selects a pixel color from the screen.The promise resolves to an object with the following property:
Remarks
-The EyeDropper interface it belongs to.