ColorCaptureSource
Electron APIs / recorder / ColorCaptureSource
Color-based capture source configuration.
Extends CaptureSource with the 'Color' type and
configuration options for capturing a solid color.
Extends
Properties
| Property | Modifier | Type | Description | Overrides |
|---|---|---|---|---|
name? | readonly | string | Optional name for the capture source. Can be used later for setting transform properties. | - |
properties | readonly | ColorCaptureSourceSettings | Configuration settings for color capture. Includes color value, width, and height. See ColorCaptureSourceSettings | CaptureSource.properties |
type | readonly | "Color" | The capture source type. Always set to 'Color' for this interface. | CaptureSource.type |