openharmony 鸿蒙 capi-avscreencapture-oh-avscreencapturehighlightconfig

2026-08-25 浏览 (1)

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

NameDescription
OH_ScreenCaptureHighlightMode modeShape of the highlight border. If this variable is not set, a full rectangle is used by default.
uint32_t lineThicknessThickness 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 lineColorColor 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

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

  • 所属分类: 后端技术
  • 本文标签: 软件 鸿蒙
  • 版权声明: 本文链接 https://seaxiang.com/blog/BI5oXu8p