Replace google closure syntax = with brackets around name
This commit is contained in:
@@ -595,10 +595,10 @@ class Executor {
|
||||
* @param {import("../../transform.js").Transform} transform Transform.
|
||||
* @param {Array<*>} instructions Instructions array.
|
||||
* @param {boolean} snapToPixel Snap point symbols and text to integer pixels.
|
||||
* @param {FeatureCallback<T>=} opt_featureCallback Feature callback.
|
||||
* @param {import("../../extent.js").Extent=} opt_hitExtent Only check
|
||||
* @param {FeatureCallback<T>} [opt_featureCallback] Feature callback.
|
||||
* @param {import("../../extent.js").Extent} [opt_hitExtent] Only check
|
||||
* features that intersect this extent.
|
||||
* @param {import("rbush").default=} opt_declutterTree Declutter tree.
|
||||
* @param {import("rbush").default} [opt_declutterTree] Declutter tree.
|
||||
* @return {T|undefined} Callback result.
|
||||
* @template T
|
||||
*/
|
||||
@@ -1141,7 +1141,7 @@ class Executor {
|
||||
* @param {import("../../transform.js").Transform} transform Transform.
|
||||
* @param {number} viewRotation View rotation.
|
||||
* @param {boolean} snapToPixel Snap point symbols and text to integer pixels.
|
||||
* @param {import("rbush").default=} opt_declutterTree Declutter tree.
|
||||
* @param {import("rbush").default} [opt_declutterTree] Declutter tree.
|
||||
*/
|
||||
execute(
|
||||
context,
|
||||
@@ -1168,8 +1168,8 @@ class Executor {
|
||||
* @param {CanvasRenderingContext2D} context Context.
|
||||
* @param {import("../../transform.js").Transform} transform Transform.
|
||||
* @param {number} viewRotation View rotation.
|
||||
* @param {FeatureCallback<T>=} opt_featureCallback Feature callback.
|
||||
* @param {import("../../extent.js").Extent=} opt_hitExtent Only check
|
||||
* @param {FeatureCallback<T>} [opt_featureCallback] Feature callback.
|
||||
* @param {import("../../extent.js").Extent} [opt_hitExtent] Only check
|
||||
* features that intersect this extent.
|
||||
* @return {T|undefined} Callback result.
|
||||
* @template T
|
||||
|
||||
@@ -38,7 +38,7 @@ class ExecutorGroup {
|
||||
* @param {boolean} overlaps The executor group can have overlapping geometries.
|
||||
* @param {!Object<string, !Object<import("./BuilderType.js").default, import("../canvas.js").SerializableInstructions>>} allInstructions
|
||||
* The serializable instructions.
|
||||
* @param {number=} opt_renderBuffer Optional rendering buffer.
|
||||
* @param {number} [opt_renderBuffer] Optional rendering buffer.
|
||||
*/
|
||||
constructor(
|
||||
maxExtent,
|
||||
@@ -312,9 +312,9 @@ class ExecutorGroup {
|
||||
* @param {import("../../transform.js").Transform} transform Transform.
|
||||
* @param {number} viewRotation View rotation.
|
||||
* @param {boolean} snapToPixel Snap point symbols and test to integer pixel.
|
||||
* @param {Array<import("./BuilderType.js").default>=} opt_builderTypes Ordered replay types to replay.
|
||||
* @param {Array<import("./BuilderType.js").default>} [opt_builderTypes] Ordered replay types to replay.
|
||||
* Default is {@link module:ol/render/replay~ORDER}
|
||||
* @param {import("rbush").default=} opt_declutterTree Declutter tree.
|
||||
* @param {import("rbush").default} [opt_declutterTree] Declutter tree.
|
||||
*/
|
||||
execute(
|
||||
context,
|
||||
|
||||
@@ -234,7 +234,7 @@ class CanvasImageBuilder extends CanvasBuilder {
|
||||
|
||||
/**
|
||||
* @param {import("../../style/Image.js").default} imageStyle Image style.
|
||||
* @param {Object=} opt_sharedData Shared data.
|
||||
* @param {Object} [opt_sharedData] Shared data.
|
||||
*/
|
||||
setImageStyle(imageStyle, opt_sharedData) {
|
||||
const anchor = imageStyle.getAnchor();
|
||||
|
||||
@@ -46,8 +46,8 @@ class CanvasImmediateRenderer extends VectorContext {
|
||||
* @param {import("../../extent.js").Extent} extent Extent.
|
||||
* @param {import("../../transform.js").Transform} transform Transform.
|
||||
* @param {number} viewRotation View rotation.
|
||||
* @param {number=} opt_squaredTolerance Optional squared tolerance for simplification.
|
||||
* @param {import("../../proj.js").TransformFunction=} opt_userTransform Transform from user to view projection.
|
||||
* @param {number} [opt_squaredTolerance] Optional squared tolerance for simplification.
|
||||
* @param {import("../../proj.js").TransformFunction} [opt_userTransform] Transform from user to view projection.
|
||||
*/
|
||||
constructor(
|
||||
context,
|
||||
|
||||
@@ -484,7 +484,7 @@ class CanvasTextBuilder extends CanvasBuilder {
|
||||
|
||||
/**
|
||||
* @param {import("../../style/Text.js").default} textStyle Text style.
|
||||
* @param {Object=} opt_sharedData Shared data.
|
||||
* @param {Object} [opt_sharedData] Shared data.
|
||||
*/
|
||||
setTextStyle(textStyle, opt_sharedData) {
|
||||
let textState, fillState, strokeState;
|
||||
|
||||
Reference in New Issue
Block a user