• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# OhosPixelMapCreateOps
2
3
4## 概述
5
6用于定义创建 pixel map 设置选项的相关信息。
7
8**起始版本:**
9
1010
11
12**相关模块:**
13
14[Image](image.md)
15
16
17## 汇总
18
19
20### 成员变量
21
22| 名称 | 描述 |
23| -------- | -------- |
24| [width](#width) | 图片的宽, 用pixels表示 |
25| [height](#height) | 图片的高, 用pixels表示 |
26| [pixelFormat](#pixelformat) | 图片的格式 |
27| [editable](#editable) | 图片的编辑类型 |
28| [alphaType](#alphatype) | 图片的alpha类型 |
29| [scaleMode](#scalemode) | 图片的缩放类型 |
30
31
32## 结构体成员变量说明
33
34
35### alphaType
36
37```
38uint32_t OhosPixelMapCreateOps::alphaType
39```
40
41**描述:**
42
43图片的alpha类型
44
45
46### editable
47
48```
49uint32_t OhosPixelMapCreateOps::editable
50```
51
52**描述:**
53
54图片的编辑类型
55
56
57### height
58
59```
60uint32_t OhosPixelMapCreateOps::height
61```
62
63**描述:**
64
65图片的高, 用pixels表示
66
67
68### pixelFormat
69
70```
71int32_t OhosPixelMapCreateOps::pixelFormat
72```
73
74**描述:**
75
76图片的格式
77
78
79### scaleMode
80
81```
82uint32_t OhosPixelMapCreateOps::scaleMode
83```
84
85**描述:**
86
87图片的缩放类型
88
89
90### width
91
92```
93uint32_t OhosPixelMapCreateOps::width
94```
95
96**描述:**
97
98图片的宽, 用pixels表示
99