dojox.gfx.utils.serialize¶
Authors: | ?– |
---|---|
Project owner: | ?– |
Available: | since V? |
Serialize the passed surface object to JavaScript Object form.
Introduction¶
TODO: introduce the component/class/method
Usage¶
TODO: how to use the component/class/method
1 2 3 | <script type="text/javascript">
// your code
</script>
|
serialize() returns following objects:
- for a surface it returns an array of shapes.
- for a group it returns an object with a property "children", which contains an array of shapes.
- for a shape it returns an object with a property "shape", which contains a shape definition object.