Search results
103 packages found
Work easily with an element's position and dimensions
- Element
- HTMLElement
- DOM
- getBoundingClientRect()
- rect
- offsetWidth
- offsetHeight
- border
- padding
- margin
- width
- height
- top
- left
- View more
A Quadtree class for JS/ES
React Component ready to be published on npm
一个用于图片标注的javascript库,基于canvas,简单轻量,支持矩形、多边形、点、折线、圆形。
2D/3D shape intersection checks
## 简介 `canvas-mark-board` 基于原生canvas封装的图像标注工具,在 vue / react / 原生js 应用中都可以实现标注功能。提供了一系列事件和方法,用于管理标注对象、绘制标注形状、导入标注数据等操作。
2D / 3D closest point / proximity helpers
Box positioning calculations helper - CSS block style positioning for screen widgets
2D polygon clipping / offsetting (Sutherland-Hodgeman, Grainer-Hormann)
Text based canvas, drawing, plotting, tables with arbitrary formatting (incl. ANSI/HTML)
MaxRects Algorithm javascript implementation
2D shape drawing & rasterization
The TextDecorator library provides text decoration capabilities for HTML and React apps
Provides a feature to get cursor position and selection dimension in pixels.
A max rectangle 2d bin packer for packing glyphs or images into multiple sprite-sheet/atlas
一个用于图片标注的javascript库,基于canvas-select插件,简单轻量,支持矩形、旋转矩形、多边形、点、折线、圆形。
2D Signed Distance Field creation from @thi.ng/geom shapes, conversions, sampling, combinators