Nodes/comfyui-panels/Offset Polygon Bounds
ComfyUI Node

Offset Polygon Bounds

'Expand' the polygon, when using positive values; or 'erode' it using negative values.

By bmad4ever·Created 11 months ago·Updated 2 months ago· 38
Offset Polygon Bounds
  • polygon
  • bbox_snap
  • POLYGON
offset-32.0
Categorysd

Inputs (3)

NameTypeDefaultDescription
polygonPOLYGON
offsetFLOAT-32.0-1000–1000The distance (in pixels) to offset the polygons' edges
bbox_snapoptBBOX_SNAPConstrain the adjustment operation with respect to a bounding box

Outputs (1)

NameTypeDescription
POLYGONPOLYGON