@univerjs/engine-render v0.5.0-beta.1Docs


Interface: IViewportInfo

Properties

PropertyTypeDescriptionDefined in
allowCache?boolean-packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/basics/vector2.ts:881
bufferEdgeXnumber-packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/basics/vector2.ts:893
bufferEdgeYnumber-packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/basics/vector2.ts:894
cacheBoundIBoundRectNoAngle-packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/basics/vector2.ts:882
cacheCanvas?Canvas-packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/basics/vector2.ts:888
cacheViewPortPositionIBoundRectNoAngle-packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/basics/vector2.ts:884
diffBoundsIBoundRectNoAngle[]-packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/basics/vector2.ts:858
diffCacheBoundsIBoundRectNoAngle[]-packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/basics/vector2.ts:883
diffXnumberscroll right further diffX < 0 previewBound.x - viewbound.xpackages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/basics/vector2.ts:864
diffYnumber-packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/basics/vector2.ts:865
isDirty?numberIn the future, a number will be used to indicate the reason for the “dirty” status Here, a binary value is used to facilitate computation.packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/basics/vector2.ts:878
isForceDirty?boolean-packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/basics/vector2.ts:879
leftOriginnumber-packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/basics/vector2.ts:890
sceneTransTransform-packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/basics/vector2.ts:887
shouldCacheUpdatenumber-packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/basics/vector2.ts:886
topOriginnumber-packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/basics/vector2.ts:891
updatePrevCacheBounds?(viewbound: IBoundRectNoAngle) => void-packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/basics/vector2.ts:896
viewBoundIBoundRectNoAngle-packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/basics/vector2.ts:857
viewportKeystring-packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/basics/vector2.ts:873
viewPortPositionIBoundRectNoAngleThe physical position of the frozen rows and columns on the canvas, used for drawImage. For example, if the freezing starts from the fourth column, the left position would be 4 * column + rowHeaderWidth. The physical position means the top and left values have already considered the scaling factor.packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/basics/vector2.ts:872