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

Method UpdatePathString

svg/path.go:147–149  ·  view source on GitHub ↗

UpdatePathString sets the path string from the Data

()

Source from the content-addressed store, hash-verified

145
146// UpdatePathString sets the path string from the Data
147func (g *Path) UpdatePathString() {
148 g.DataStr = PathDataString(g.Data)
149}
150
151// PathCmds are the commands within the path SVG drawing data type
152type PathCmds byte //enum: enum

Callers 1

TestCoreLogoFunction · 0.95

Calls 1

PathDataStringFunction · 0.85

Tested by 1

TestCoreLogoFunction · 0.76