Skip to main content

@novorender/web_app / DrawContext

Interface: DrawContext

Draw context for keeping updated canvas widht height and camera properties

Properties

camera

camera: Camera;

Pixel width of the render canvas.

Defined in

@novorender/measure/modules/draw/index.ts:115


height

height: number;

Camera values, RenderStateCamera from core 3d api can be used RenderStateCamera.

Defined in

@novorender/measure/modules/draw/index.ts:119


width

width: number;

Pixel height of the render canvas.

Defined in

@novorender/measure/modules/draw/index.ts:117