harmony 鸿蒙OhosPixelMapCreateOps

  • 2023-06-24
  • 浏览 (302)

OhosPixelMapCreateOps

概述

用于定义创建 pixel map 设置选项的相关信息。

起始版本:

10

相关模块:

Image

汇总

成员变量

名称 描述
width 图片的宽, 用pixels表示
height 图片的高, 用pixels表示
pixelFormat 图片的格式
editable 图片的编辑类型
alphaType 图片的alpha类型
scaleMode 图片的缩放类型

结构体成员变量说明

alphaType

uint32_t OhosPixelMapCreateOps::alphaType

描述:

图片的alpha类型

editable

uint32_t OhosPixelMapCreateOps::editable

描述:

图片的编辑类型

height

uint32_t OhosPixelMapCreateOps::height

描述:

图片的高, 用pixels表示

pixelFormat

int32_t OhosPixelMapCreateOps::pixelFormat

描述:

图片的格式

scaleMode

uint32_t OhosPixelMapCreateOps::scaleMode

描述:

图片的缩放类型

width

uint32_t OhosPixelMapCreateOps::width

描述:

图片的宽, 用pixels表示

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Native API

harmony 鸿蒙AVCapability

harmony 鸿蒙AVDemuxer

harmony 鸿蒙AVMuxer

harmony 鸿蒙AVScreenCapture

harmony 鸿蒙AVSource

harmony 鸿蒙AudioDecoder

harmony 鸿蒙AudioEncoder

harmony 鸿蒙CodecBase

harmony 鸿蒙Core

0  赞