OH_AVScreenCaptureHighlightConfig
typedef struct OH_AVScreenCaptureHighlightConfig {...} OH_AVScreenCaptureHighlightConfig
Overview
The struct describes the style of the highlight border shown during screen capture, including its shape, thickness, and color.
Since: 22
Related module: AVScreenCapture
Header file: native_avscreen_capture_base.h
Summary
Member Variables
| Name | Description |
|---|---|
| OH_ScreenCaptureHighlightMode mode | Shape of the highlight border. If this variable is not set, a full rectangle is used by default. |
| uint32_t lineThickness | Thickness of the border line. If this variable is not set, the border is invisible by default. The valid value range is 1 vp to 8 vp. |
| uint32_t lineColor | Color of the border line. The default value is black. Valid values are in RGB (0-0xffffff) or non-transparent ARGB (0xff000000-0xffffffff) format. |
你可能感兴趣的鸿蒙文章
openharmony 鸿蒙 capi-avrecorder-oh-avrecorder-range
openharmony 鸿蒙 errorcode-media
openharmony 鸿蒙 capi-avplayer-base-h
openharmony 鸿蒙 capi-avimage-generator-h
openharmony 鸿蒙 capi-avscreencapture-oh-rect
openharmony 鸿蒙 capi-videoprocessing-videoprocessing-callback
openharmony 鸿蒙 capi-avsinkbase
openharmony 鸿蒙 capi-avmetadataextractor
openharmony 鸿蒙 capi-avscreencapture-oh-multidisplaycapability