Add descriptions for properties.
This commit is contained in:
@@ -81,12 +81,12 @@ const ModifyEventType = {
|
||||
|
||||
/**
|
||||
* @typedef {Object} SegmentData
|
||||
* @property {Array<number>} [depth]
|
||||
* @property {Feature} feature
|
||||
* @property {import("../geom/SimpleGeometry.js").default} geometry
|
||||
* @property {number} [index]
|
||||
* @property {Array<import("../extent.js").Extent>} segment
|
||||
* @property {Array<SegmentData>} [featureSegments]
|
||||
* @property {Array<number>} [depth] Depth.
|
||||
* @property {Feature} feature Feature.
|
||||
* @property {import("../geom/SimpleGeometry.js").default} geometry Geometry.
|
||||
* @property {number} [index] Index.
|
||||
* @property {Array<import("../extent.js").Extent>} segment Segment.
|
||||
* @property {Array<SegmentData>} [featureSegments] FeatureSegments.
|
||||
*/
|
||||
|
||||
/**
|
||||
|
||||
@@ -28,15 +28,15 @@ import {listen, unlistenByKey} from '../events.js';
|
||||
|
||||
/**
|
||||
* @typedef {Object} Result
|
||||
* @property {boolean} snapped
|
||||
* @property {import("../coordinate.js").Coordinate|null} vertex
|
||||
* @property {import("../pixel.js").Pixel|null} vertexPixel
|
||||
* @property {boolean} snapped Snapped.
|
||||
* @property {import("../coordinate.js").Coordinate|null} vertex Vertex.
|
||||
* @property {import("../pixel.js").Pixel|null} vertexPixel VertexPixel.
|
||||
*/
|
||||
|
||||
/**
|
||||
* @typedef {Object} SegmentData
|
||||
* @property {import("../Feature.js").default} feature
|
||||
* @property {Array<import("../coordinate.js").Coordinate>} segment
|
||||
* @property {import("../Feature.js").default} feature Feature.
|
||||
* @property {Array<import("../coordinate.js").Coordinate>} segment Segment.
|
||||
*/
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user