Skip to main content

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

PropertyModifierTypeDescriptionOverrides
name?readonlystringOptional name for the capture source. Can be used later for setting transform properties.-
propertiesreadonlyColorCaptureSourceSettingsConfiguration settings for color capture. Includes color value, width, and height. See ColorCaptureSourceSettingsCaptureSource.properties
typereadonly"Color"The capture source type. Always set to 'Color' for this interface.CaptureSource.type