@graphty/graphty-element / index / ViewInsets
Interface: ViewInsets ​
Defined in: graphty-element/src/camera/types.ts:99
Margins of the drawing surface that something else covers, such as a key or a toolbar laid over the canvas, in CSS pixels per side. Every fit keeps the elements it frames out of them, and in 3D the camera's center of view is the center of what is left. A side left out is 0.
Properties ​
bottom? ​
readonlyoptionalbottom?:number
Defined in: graphty-element/src/camera/types.ts:102
left? ​
readonlyoptionalleft?:number
Defined in: graphty-element/src/camera/types.ts:103
right? ​
readonlyoptionalright?:number
Defined in: graphty-element/src/camera/types.ts:101
top? ​
readonlyoptionaltop?:number
Defined in: graphty-element/src/camera/types.ts:100