harmony 鸿蒙LayerInfo

  • 2022-08-09
  • 浏览 (438)

LayerInfo

概述

定义图层信息结构体

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

相关模块:

Display

汇总

Public 属性

名称 描述
width int32_t
图层宽度
height int32_t
图层高度
type LayerType
图层类型,包括图形层、视频层和媒体播放模式
bpp int32_t
每像素所占bit数
pixFormat PixelFormat
图层像素格式

你可能感兴趣的鸿蒙文章

harmony 鸿蒙HDI 参数参考

harmony 鸿蒙ActRecognitionEvent

harmony 鸿蒙Activation

harmony 鸿蒙ActivityRecognitionTypes.idl

harmony 鸿蒙AddFusion

harmony 鸿蒙Alignment

harmony 鸿蒙AllocInfo

harmony 鸿蒙ApduSimIORequestInfo

harmony 鸿蒙ArgMaxFusion

harmony 鸿蒙Audio

0  赞