harmony 鸿蒙LayerInfo

2022-08-09 浏览 (777)

LayerInfo

概述

定义图层信息结构体

在创建图层时,需要将LayerInfo传递给创建图层接口,创建图层接口根据图层信息创建相应图层。

相关模块:

Display

汇总

Public 属性

名称描述
widthint32_t
图层宽度
heightint32_t
图层高度
typeLayerType
图层类型,包括图形层、视频层和媒体播放模式
bppint32_t
每像素所占bit数
pixFormatPixelFormat
图层像素格式

你可能感兴趣的鸿蒙文章

harmony 鸿蒙HDI 参数参考

harmony 鸿蒙ActRecognitionEvent

harmony 鸿蒙Activation

harmony 鸿蒙ActivityRecognitionTypes.idl

harmony 鸿蒙AddFusion

harmony 鸿蒙Alignment

harmony 鸿蒙AllocInfo

harmony 鸿蒙ApduSimIORequestInfo

harmony 鸿蒙ArgMaxFusion

harmony 鸿蒙Audio

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