///
/// Bounds.swift
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
/// https://github.com/mrousavy/nitro
/// Copyright © Marc Rousavy @ Margelo
///

import NitroModules

/**
 * Represents an instance of `Bounds`, backed by a C++ struct.
 */
public typealias Bounds = margelo.nitro.camera.facedetector.Bounds

public extension Bounds {
  private typealias bridge = margelo.nitro.camera.facedetector.bridge.swift

  /**
   * Create a new instance of `Bounds`.
   */
  init(width: Double, height: Double, x: Double, y: Double) {
    self.init(width, height, x, y)
  }

  @inline(__always)
  var width: Double {
    return self.__width
  }
  
  @inline(__always)
  var height: Double {
    return self.__height
  }
  
  @inline(__always)
  var x: Double {
    return self.__x
  }
  
  @inline(__always)
  var y: Double {
    return self.__y
  }
}
