Skip to content

Documentation / @ripl/core / NavigatorBrush

Interface: NavigatorBrush ​

Defined in: packages/core/src/core/navigator.ts:29

A rectangular brush selection in the navigator's pixel space.

Properties ​

PropertyTypeDescriptionDefined in
x0numberX coordinate of the selection's first corner, in logical pixels (CSS pixels relative to the context's top-left, unaffected by the device pixel ratio).packages/core/src/core/navigator.ts:31
x1numberX coordinate of the selection's opposite corner, in logical pixels (CSS pixels relative to the context's top-left, unaffected by the device pixel ratio).packages/core/src/core/navigator.ts:35
y0numberY coordinate of the selection's first corner, in logical pixels (CSS pixels relative to the context's top-left, unaffected by the device pixel ratio).packages/core/src/core/navigator.ts:33
y1numberY coordinate of the selection's opposite corner, in logical pixels (CSS pixels relative to the context's top-left, unaffected by the device pixel ratio).packages/core/src/core/navigator.ts:37