IntrinsicParameters constructor

IntrinsicParameters({
  1. int? widthPx,
  2. int? heightPx,
  3. double? focalXPx,
  4. double? focalYPx,
  5. double? centerXPx,
  6. double? centerYPx,
})

Implementation

factory IntrinsicParameters({
  $core.int? widthPx,
  $core.int? heightPx,
  $core.double? focalXPx,
  $core.double? focalYPx,
  $core.double? centerXPx,
  $core.double? centerYPx,
}) {
  final $result = create();
  if (widthPx != null) {
    $result.widthPx = widthPx;
  }
  if (heightPx != null) {
    $result.heightPx = heightPx;
  }
  if (focalXPx != null) {
    $result.focalXPx = focalXPx;
  }
  if (focalYPx != null) {
    $result.focalYPx = focalYPx;
  }
  if (centerXPx != null) {
    $result.centerXPx = centerXPx;
  }
  if (centerYPx != null) {
    $result.centerYPx = centerYPx;
  }
  return $result;
}