Skip to content
DGM.js
Search
Cancel
GitHub
Twitter
Select theme
Dark
Light
Auto
Overview
Getting started
License
Guides
Introduction
Smart shape
Document and pages
Handlers
Selection
Factory
Mutating shapes
Plugins
Script Language
@dgmjs/react
DGMEditor
DGMEditorCore
DGMFloatingToolbarHolder
DGMFrameNameInplaceEditor
DGMTextInplaceEditor
DGMShapeView
DGMPageView
@dgmjs/core
Namespaces
geometry
functions
angle
assign
boundingPath
boundingRect
center
centroidPolygon
copy
copyRect
curvePathPoints
curveToBezier
distance
distanceToLine
distanceToPath
equalRect
equals
equalsPath
expandRect
findNearestOnLine
findNearestOnPath
fitScaleTo
generatePath
getNearSegment
getPointAtDistance
getPointOnLine
getPointOnPath
getPositionOnLine
getPositionOnPath
height
inCircle
includeRect
inPolygon
inRect
inSquare
intersect
isClosed
isHorz
isRectilinear
isVert
lineOverlapRect
mid
move
movePoints
normalizeAngle
normalizeRect
overlapRect
pathCopy
pathIntersect
pathLength
pointsOnArc
pointsOnBezier
pointsOnEllipse
projectPoints
quantize
rectToPolygon
reduceObliquePath
reduceRectilinearPath
rotate
scaleRect
square
toDegree
toRadian
unionRect
width
handlers
classes
ConnectorFactoryHandler
EllipseFactoryHandler
EmbedFactoryHandler
EraserHandler
FrameFactoryHandler
FreehandFactoryHandler
HandHandler
HighlighterFactoryHandler
ImageFactoryHandler
LineFactoryHandler
MirrorFactoryHandler
RectangleFactoryHandler
SelectHandler
TextFactoryHandler
macro
functions
addPage
addShape
adjustConnectorRoute
assignPath
bringForward
bringToFront
changeParent
deleteShapes
deleteSingleShape
groupShapes
moveAnchor
moveConnectorEnd
moveConnectorEndPoint
moveShapes
moveSingleShape
removePage
reorderPage
resizeShape
resolveAllConstraints
resolveShapeConstraints
sendBackward
sendToBack
setBottom
setFontColor
setFontFamily
setFontSize
setHeight