WhiteImageInformation Class Reference
| Inherits from | WhiteObject |
|---|---|
| Declared in | WhiteImageInformation.h |
– initWithFrame:
Sets the frame of the image and initialize the WhiteImageInformation object.
- (instancetype)initWithFrame:(CGRect)frameParameters
frame |
The frame of the image, which include width, height and the coordinate of the upper left corner (in the whiteboard coordinate system). |
|---|
Return Value
Initialized WhiteImageInformation object.
Declared In
WhiteImageInformation.h
– initWithSize:
Sets the size of the image and initialize the WhiteImageInformation object.
- (instancetype)initWithSize:(CGSize)sizeParameters
size |
The picture size. |
|---|
Return Value
Initialized WhiteImageInformation object.
Declared In
WhiteImageInformation.h
– initWithUuid:frame:
Sets the UUID and frame of the image and initialize the WhiteImageInformation object.
- (instancetype)initWithUuid:(NSString *)uuid frame:(CGRect)frameParameters
uuid |
The unique identifier (UUID) of the image. |
|---|---|
frame |
The frame of the image, which include width, height and the coordinate of the upper left corner (in the whiteboard coordinate system). |
Return Value
Initialized WhiteImageInformation object.
Declared In
WhiteImageInformation.h
uuid
The UUID of the image.
@property (nonatomic, copy) NSString *uuidDiscussion
The UUID of the image is a string, which is the identifier of the image and must be unique in the live interactive whiteboard room.
Declared In
WhiteImageInformation.h
centerX
The X coordinate of the center of the image in the world coordinate system (taking the center of the initial whiteboard as the origin).
@property (nonatomic, assign) CGFloat centerXDeclared In
WhiteImageInformation.h
centerY
The Y coordinate of the center of the image in the world coordinate system (taking the center of the initial whiteboard as the origin).
@property (nonatomic, assign) CGFloat centerYDeclared In
WhiteImageInformation.h
width
The width (px) of the image.
@property (nonatomic, assign) CGFloat widthDeclared In
WhiteImageInformation.h
height
The height (px) of the image.
@property (nonatomic, assign) CGFloat heightDeclared In
WhiteImageInformation.h
locked
Whether the image is locked. When an image is locked, users cannot move or zoom the image.
@property (nonatomic, assign) BOOL lockedDiscussion
YES:Locks the image.NO:(Default) Do not lock the image.
Declared In
WhiteImageInformation.h