# WhiteImageInformation Class Reference (/zh-CN/api-reference/whiteboard/whiteboard-sdk/ios/classes/white-image-information)
> For AI agents: see the complete documentation index at [llms.txt](/llms.txt).
Whiteboard iOS SDK 2.16.147 公开接口。
@interface WhiteImageInformation: WhiteObject
## 成员 [#成员]
- [initWithFrame:](/zh-CN/api-reference/whiteboard/whiteboard-sdk/ios/classes/white-image-information#//api/name/initWithFrame:)
- [initWithSize:](/zh-CN/api-reference/whiteboard/whiteboard-sdk/ios/classes/white-image-information#//api/name/initWithSize:)
- [initWithUuid\:frame:](/zh-CN/api-reference/whiteboard/whiteboard-sdk/ios/classes/white-image-information#//api/name/initWithUuid:frame:)
- [uuid](/zh-CN/api-reference/whiteboard/whiteboard-sdk/ios/classes/white-image-information#//api/name/uuid)
- [centerX](/zh-CN/api-reference/whiteboard/whiteboard-sdk/ios/classes/white-image-information#//api/name/centerX)
- [centerY](/zh-CN/api-reference/whiteboard/whiteboard-sdk/ios/classes/white-image-information#//api/name/centerY)
- [width](/zh-CN/api-reference/whiteboard/whiteboard-sdk/ios/classes/white-image-information#//api/name/width)
- [height](/zh-CN/api-reference/whiteboard/whiteboard-sdk/ios/classes/white-image-information#//api/name/height)
- [locked](/zh-CN/api-reference/whiteboard/whiteboard-sdk/ios/classes/white-image-information#//api/name/locked)
### `– initWithFrame:` [#-initwithframe]
\- (instancetype)initWithFrame:(CGRect)frame;
```text
设置图片框架并初始化 `WhiteImageInformation` 对象。
@param frame 图片框架。包括宽高以及左上角坐标(白板坐标系内)。
@return 初始化的 `WhiteImageInformation` 对象。
```
Declared in Room/WhiteImageInformation.h
### `– initWithSize:` [#-initwithsize]
\- (instancetype)initWithSize:(CGSize)size;
```text
设置图片尺寸并初始化 `WhiteImageInformation` 对象。
@param size 图片尺寸。
@return 初始化的 `WhiteImageInformation` 对象。
```
Declared in Room/WhiteImageInformation.h
### `– initWithUuid:frame:` [#-initwithuuidframe]
\- (instancetype)initWithUuid:(NSString *)uuid frame:(CGRect)frame;
```text
设置图片的 UUID 和框架并初始化 `WhiteImageInformation` 对象。
@param uuid 图片的 UUID,即图片在互动白板实时房间中的唯一标识符。
@param frame 图片框架。包括宽高以及左上角坐标(白板坐标系内)。
@return 初始化的 `WhiteImageInformation` 对象。
```
Declared in Room/WhiteImageInformation.h
### `uuid` [#uuid]
@property (nonatomic, copy) NSString *uuid;
```text
图片的 UUID,即图片在互动白板实时房间中的唯一标识符。
```
Declared in Room/WhiteImageInformation.h
### `centerX` [#centerx]
@property (nonatomic, assign) CGFloat centerX;
```text
图片的中心在世界坐标系(以白板初始化时的中心点为原点的坐标系)中的横向坐标。
```
Declared in Room/WhiteImageInformation.h
### `centerY` [#centery]
@property (nonatomic, assign) CGFloat centerY;
```text
图片的中心在世界坐标系(以白板初始化时的中心点为原点的坐标系)中的纵向坐标。
```
Declared in Room/WhiteImageInformation.h
### `width` [#width]
@property (nonatomic, assign) CGFloat width;
```text
图片的宽度,单位为像素。
```
Declared in Room/WhiteImageInformation.h
### `height` [#height]
@property (nonatomic, assign) CGFloat height;
```text
图片的高度,单位为像素。
```
Declared in Room/WhiteImageInformation.h
### `locked` [#locked]
@property (nonatomic, assign) BOOL locked;
```text
是否锁定图片。
图片被锁定后,用户无法移动或缩放图片。
- `YES`:锁定。
- `NO`:不锁定。
```
Declared in Room/WhiteImageInformation.h