zoomOutToFitForGeometry function
CameraPosition
zoomOutToFitForGeometry(
- BaseCamera camera,
- Geometry geometry, [
- StyleZoomToTiltRelation? styleZoomToTiltRelation = null,
- ScreenSize? size = null,
Implementation
CameraPosition zoomOutToFitForGeometry(
BaseCamera camera,
Geometry geometry,
[StyleZoomToTiltRelation? styleZoomToTiltRelation = null,
ScreenSize? size = null
]){
var _a0 = camera._copyFromDartTo_CBaseCamera();
var _a1 = geometry._copyFromDartTo_CGeometry();
var _a2 = styleZoomToTiltRelation._copyFromDartTo_COptional_CStyleZoomToTiltRelation();
var _a3 = size._copyFromDartTo_COptional_CScreenSize();
_CCameraPosition res = _CFunction_G_zoomOutToFitForGeometry_With_CBaseCamera_CGeometry_COptional_CStyleZoomToTiltRelation_COptional_CScreenSize(_a0, _a1, _a2, _a3);
_a2._releaseIntermediate();
_a1._releaseIntermediate();
_a0._releaseIntermediate();
return res._toDart();
}