Searched refs:maxDisplaySize (Results 1 – 1 of 1) sorted by relevance
200 const maxDisplaySize = this.getMaxDisplaySize(rects2d); constant251 return this.cropOversizedRect(rect, maxDisplaySize);299 private cropOversizedRect(rect3d: Rect3D, maxDisplaySize: Size): Rect3D {302 if (maxDisplaySize.height > 0) {303 maxDimension = Math.max(maxDisplaySize.width, maxDisplaySize.height) * 2;311 (rect3d.topLeft.x = (maxDimension - maxDisplaySize.width / 2) * -1),316 rect3d.topLeft.y = (maxDimension - maxDisplaySize.height / 2) * -1;