@univerjs/engine-render v0.5.0-beta.1 • Docs
Interface: IViewportInfo
Properties
Property | Type | Description | Defined in |
---|---|---|---|
allowCache? | boolean | - | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/basics/vector2.ts:881 |
bufferEdgeX | number | - | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/basics/vector2.ts:893 |
bufferEdgeY | number | - | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/basics/vector2.ts:894 |
cacheBound | IBoundRectNoAngle | - | 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 |
cacheViewPortPosition | IBoundRectNoAngle | - | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/basics/vector2.ts:884 |
diffBounds | IBoundRectNoAngle [] | - | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/basics/vector2.ts:858 |
diffCacheBounds | IBoundRectNoAngle [] | - | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/basics/vector2.ts:883 |
diffX | number | scroll right further diffX < 0 previewBound.x - viewbound.x | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/basics/vector2.ts:864 |
diffY | number | - | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/basics/vector2.ts:865 |
isDirty? | number | In 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 |
leftOrigin | number | - | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/basics/vector2.ts:890 |
sceneTrans | Transform | - | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/basics/vector2.ts:887 |
shouldCacheUpdate | number | - | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/basics/vector2.ts:886 |
topOrigin | number | - | 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 |
viewBound | IBoundRectNoAngle | - | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/basics/vector2.ts:857 |
viewportKey | string | - | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/basics/vector2.ts:873 |
viewPortPosition | IBoundRectNoAngle | The 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 |