API Reference
@univerjs
@univerjs/engine-render
interfaces
Iviewportinfo

@univerjs/engine-render v0.4.2Docs


Interface: IViewportInfo

Properties

PropertyTypeDescriptionDefined in
allowCache?boolean-submodules/univer/packages/engine-render/src/basics/vector2.ts:881 (opens in a new tab)
bufferEdgeXnumber-submodules/univer/packages/engine-render/src/basics/vector2.ts:893 (opens in a new tab)
bufferEdgeYnumber-submodules/univer/packages/engine-render/src/basics/vector2.ts:894 (opens in a new tab)
cacheBoundIBoundRectNoAngle-submodules/univer/packages/engine-render/src/basics/vector2.ts:882 (opens in a new tab)
cacheCanvas?Canvas-submodules/univer/packages/engine-render/src/basics/vector2.ts:888 (opens in a new tab)
cacheViewPortPositionIBoundRectNoAngle-submodules/univer/packages/engine-render/src/basics/vector2.ts:884 (opens in a new tab)
diffBoundsIBoundRectNoAngle[]-submodules/univer/packages/engine-render/src/basics/vector2.ts:858 (opens in a new tab)
diffCacheBoundsIBoundRectNoAngle[]-submodules/univer/packages/engine-render/src/basics/vector2.ts:883 (opens in a new tab)
diffXnumberscroll right further diffX < 0 previewBound.x - viewbound.xsubmodules/univer/packages/engine-render/src/basics/vector2.ts:864 (opens in a new tab)
diffYnumber-submodules/univer/packages/engine-render/src/basics/vector2.ts:865 (opens in a new tab)
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.submodules/univer/packages/engine-render/src/basics/vector2.ts:878 (opens in a new tab)
isForceDirty?boolean-submodules/univer/packages/engine-render/src/basics/vector2.ts:879 (opens in a new tab)
leftOriginnumber-submodules/univer/packages/engine-render/src/basics/vector2.ts:890 (opens in a new tab)
sceneTransTransform-submodules/univer/packages/engine-render/src/basics/vector2.ts:887 (opens in a new tab)
shouldCacheUpdatenumber-submodules/univer/packages/engine-render/src/basics/vector2.ts:886 (opens in a new tab)
topOriginnumber-submodules/univer/packages/engine-render/src/basics/vector2.ts:891 (opens in a new tab)
updatePrevCacheBounds?(viewbound: IBoundRectNoAngle) => void-submodules/univer/packages/engine-render/src/basics/vector2.ts:896 (opens in a new tab)
viewBoundIBoundRectNoAngle-submodules/univer/packages/engine-render/src/basics/vector2.ts:857 (opens in a new tab)
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.submodules/univer/packages/engine-render/src/basics/vector2.ts:872 (opens in a new tab)
viewportKeystring-submodules/univer/packages/engine-render/src/basics/vector2.ts:873 (opens in a new tab)

Copyright © 2021-2024 DreamNum Co,Ltd. All Rights Reserved.