Skip to content

Instantly share code, notes, and snippets.

Created December 14, 2012 08:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save anonymous/4283675 to your computer and use it in GitHub Desktop.
Save anonymous/4283675 to your computer and use it in GitHub Desktop.
xJSFL inspection of a shape on the stage
// code:
inspect($selection[0].edges, 6);
// 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