MCPcopy Index your code
hub / github.com/tdewolff/canvas / Values

Method Values

path_scanner.go:36–38  ·  view source on GitHub ↗

Values returns the current path segment values.

()

Source from the content-addressed store, hash-verified

34
35// Values returns the current path segment values.
36func (s *PathScanner) Values() []float64 {
37 return s.p.d[s.i-cmdLen(s.p.d[s.i])+2 : s.i]
38}
39
40// Start returns the current path segment start position.
41func (s *PathScanner) Start() Point {

Callers 2

parseStyleMethod · 0.45
parseStyleAttributeMethod · 0.45

Calls 1

cmdLenFunction · 0.85

Tested by

no test coverage detected