Class WatermarkOptions.Rectangle

java.lang.Object
io.agora.rtc2.video.WatermarkOptions.Rectangle
Enclosing class:
WatermarkOptions

public static class WatermarkOptions.Rectangle extends Object
Since:
4.6.0 parameter, the SDK selects the whole screen or window.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    int
    The height of the target area.
    int
    The width of the target area.
    int
    The horizontal offset from the top-left corner.
    int
    The vertical offset from the top-left corner.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    Rectangle(int x_, int y_, int width_, int height_)
     
  • Method Summary

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • x

      public int x
      The horizontal offset from the top-left corner.
    • y

      public int y
      The vertical offset from the top-left corner.
    • width

      public int width
      The width of the target area.
    • height

      public int height
      The height of the target area.
  • Constructor Details

    • Rectangle

      public Rectangle()
    • Rectangle

      public Rectangle(int x_, int y_, int width_, int height_)