WatermarkOptions Class Reference
Inherits from | NSObject |
---|---|
Declared in | AgoraObjects.h |
visibleInPreview
Sets whether or not the watermark image is visible in the local video preview:
@property (assign, nonatomic) BOOL visibleInPreview
Discussion
- YES: (Default) The watermark image is visible in preview.
- NO: The watermark image is not visible in preview.
Declared In
AgoraObjects.h
positionInLandscapeMode
The watermark position in landscape mode of Rotate the Video. This parameter contains the following members:
x
: The horizontal offset of the watermark from the top-left corner.y
: The vertical offset of the watermark from the top-left corner.width
: The width (pixel) of the watermark region.height
: The height (pixel) of the watermark region.
@property (assign, nonatomic) CGRect positionInLandscapeMode
Declared In
AgoraObjects.h
positionInPortraitMode
The watermark position in portrait mode of Rotate the Video. This parameter contains the following members:
x
: The horizontal offset of the watermark from the top-left corner.y
: The vertical offset of the watermark from the top-left corner.width
: The width (pixel) of the watermark region.height
: The height (pixel) of the watermark region.
@property (assign, nonatomic) CGRect positionInPortraitMode
Declared In
AgoraObjects.h