WatermarkBuffer
Configures the format, size, and pixel buffer of the watermark image.
public class WatermarkBuffer {
  public final static int WATERMARK_BUFFER_FORMAT_I420 = 1;
  public final static int WATERMARK_BUFFER_FORMAT_BGRA = 2;
  public final static int WATERMARK_BUFFER_FORMAT_NV21 = 3;
  public final static int WATERMARK_BUFFER_FORMAT_RGBA = 4;
  public ByteBuffer buffer;
  public int width;
  public int height;
  public int format;
}
            
            
            
            
            
            
            
             - Since:
 - Available since v4.6.0.
 
Defines the buffer data structure of the watermark image, including image width, height, format, length, and image data buffer.
Attributes
- width
 - Width of the watermark buffer, in pixels.
 - height
 - Height of the watermark buffer, in pixels.
 - format
 - Format of the watermark image:
                    
WATERMARK_BUFFER_FORMAT_I420: I420 format.WATERMARK_BUFFER_FORMAT_BGRA: BGRA format.WATERMARK_BUFFER_FORMAT_NV21: NV21 format.WATERMARK_BUFFER_FORMAT_RGBA: RGBA format.
 - buffer
 - Stores the watermark image data.