Skip to content

Instantly share code, notes, and snippets.

@davestewart
Forked from anonymous/gist:4283675
Created December 14, 2012 08:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davestewart/4283699 to your computer and use it in GitHub Desktop.
Save davestewart/4283699 to your computer and use it in GitHub Desktop.
// code:
inspect($selection[0].edges, 6, {debug:true}); // debug set to on, so that output breaks if Flash errors
// results:
Inspect: Array (depth:6, objects:16, values:84, time:0.0 seconds)
--------------------------------------------------------------------------------
array => Array
[0] => Edge
id: 140572016
isLine: 1
[stroke] => Object
thickness: 1
color: "#000000"
originalcolor: "#000000"
breakAtCorners: false
strokeHinting: false
scaleType: "normal"
joinType: "round"
capType: "round"
miterLimit: 3
[shapeFill] => Object
color: "#000000"
style: "solid"
[matrix] => Object
a: 1
b: 0
c: 0
d: 1
tx: 0
ty: 0
style: "solid"
cubicSegmentIndex: 0
[1] => Edge
id: 140571232
isLine: 1
[stroke] => Object
thickness: 1
color: "#000000"
originalcolor: "#000000"
breakAtCorners: false
strokeHinting: false
scaleType: "normal"
joinType: "round"
capType: "round"
miterLimit: 3
[shapeFill] => Object
color: "#000000"
style: "solid"
[matrix] => Object
a: 1
b: 0
c: 0
d: 1
tx: 0
ty: 0
style: "solid"
cubicSegmentIndex: 1
[2] => Edge
id: 140570784
isLine: 1
[stroke] => Object
thickness: 1
color: "#000000"
originalcolor: "#000000"
breakAtCorners: false
strokeHinting: false
scaleType: "normal"
joinType: "round"
capType: "round"
miterLimit: 3
[shapeFill] => Object
color: "#000000"
style: "solid"
[matrix] => Object
a: 1
b: 0
c: 0
d: 1
tx: 0
ty: 0
style: "solid"
cubicSegmentIndex: 2
[3] => Edge
id: 140570336
isLine: 1
[stroke] => Object
thickness: 1
color: "#000000"
originalcolor: "#000000"
breakAtCorners: false
strokeHinting: false
scaleType: "normal"
joinType: "round"
capType: "round"
miterLimit: 3
[shapeFill] => Object
color: "#000000"
style: "solid"
[matrix] => Object
a: 1
b: 0
c: 0
d: 1
tx: 0
ty: 0
style: "solid"
cubicSegmentIndex: 3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment