Changeset 186 for trunk/docs
- Timestamp:
- Apr 26, 2011, 6:32:28 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/docs/api/zoo-feature.txt
r185 r186 6 6 Vector features use the ZOO.Geometry classes as geometry description. 7 7 8 Functions andProperties9 ---------- --------------8 Properties 9 ---------- 10 10 11 11 .. list-table:: 12 :widths: 305012 :widths: 12 50 13 13 :header-rows: 1 14 14 … … 23 23 * - :ref:`bounds <bounds>` 24 24 - {ZOO.Bounds} The box bounding that feature's geometry, that property can be set by an ZOO.Format object when deserializing the feature, so in most cases it represents an information set by the server. 25 26 Functions 27 --------- 28 29 .. list-table:: 30 :widths: 15 50 31 :header-rows: 1 32 33 * - NAME 34 - DESCRIPTION 35 * - :ref:`ZOO.Feature <ZOO.Feature>` 36 - Create a vector feature. 37 * - :ref:`destroy <destroy>` 38 - nullify references to prevent circular references and memory leaks 39 * - :ref:`clone <clone>` 40 - Create a clone of this vector feature. 41 * - :ref:`move <move>` 42 - Moves the feature and redraws it at its new location 43 25 44 26 45 **Properties** … … 48 67 it represents an information set by the server. 49 68 69 **Functions** 70 71 .. _ZOO.Feature: 72 73 ZOO.Feature 74 Create a vector feature. 75 76 77 *Parameters* 78 79 | ``geometry`` :ref:`{ZOO.Geometry} <api-zoo-geometry>` The geometry that this feature represents. 80 | ``attributes {Object}`` An optional object that will be mapped to the attributes property. 81 82 .. _destroy: 83 84 destroy 85 :: 86 87 destroy: function() 88 89 nullify references to prevent circular references and memory leaks 90 91 .. _clone: 92 93 clone 94 :: 95 96 clone: function () 97 98 Create a clone of this vector feature. Does not set any non-standard properties. 99 100 *Returns* 101 102 :ref:`{ZOO.Feature} <api-zoo-feature>` An exact clone of this vector feature. 103 104 .. _move: 105 106 move 107 Moves the feature and redraws it at its new location
Note: See TracChangeset
for help on using the changeset viewer.