MCPcopy Create free account
hub / github.com/cogentcore/core / NodeBBox

Method NodeBBox

svg/node.go:42–42  ·  view source on GitHub ↗

NodeBBox returns the bounding box in image coordinates for this node.

(sv *SVG)

Source from the content-addressed store, hash-verified

40
41 // NodeBBox returns the bounding box in image coordinates for this node.
42 NodeBBox(sv *SVG) image.Rectangle
43
44 // SetNodePos sets the upper left effective position of this element, in local dimensions.
45 SetNodePos(pos math32.Vector2)

Callers 2

BBoxesMethod · 0.65
BBoxesMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected