Class SetSceneItemProperties.Bounds

    • Constructor Detail

      • Bounds

        public Bounds()
    • Method Detail

      • getType

        public Optional<String> getType()
        The new bounds type of the source. Can be "OBS_BOUNDS_STRETCH", "OBS_BOUNDS_SCALE_INNER", "OBS_BOUNDS_SCALE_OUTER", "OBS_BOUNDS_SCALE_TO_WIDTH", "OBS_BOUNDS_SCALE_TO_HEIGHT", "OBS_BOUNDS_MAX_ONLY" or "OBS_BOUNDS_NONE".
      • setType

        public void setType​(String type)
        The new bounds type of the source. Can be "OBS_BOUNDS_STRETCH", "OBS_BOUNDS_SCALE_INNER", "OBS_BOUNDS_SCALE_OUTER", "OBS_BOUNDS_SCALE_TO_WIDTH", "OBS_BOUNDS_SCALE_TO_HEIGHT", "OBS_BOUNDS_MAX_ONLY" or "OBS_BOUNDS_NONE".
      • getAlignment

        public Optional<Integer> getAlignment()
        The new alignment of the bounding box. (0-2, 4-6, 8-10)
      • setAlignment

        public void setAlignment​(int alignment)
        The new alignment of the bounding box. (0-2, 4-6, 8-10)
      • getX

        public Optional<Double> getX()
        The new width of the bounding box.
      • setX

        public void setX​(double x)
        The new width of the bounding box.
      • getY

        public Optional<Double> getY()
        The new height of the bounding box.
      • setY

        public void setY​(double y)
        The new height of the bounding box.