mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-06-28 14:20:12 +00:00
add test for Polyline.clip()
This commit is contained in:
@@ -80,3 +80,7 @@ captureBtn.onclick = () => {
|
||||
};
|
||||
|
||||
let icon = new H.map.Icon('svg', { size: 5, crossOrigin: false });
|
||||
|
||||
let polyline = new H.map.Polyline(new H.geo.Strip());
|
||||
let clipArr: Array<Array<number>>;
|
||||
clipArr = polyline.clip(new H.geo.Rect(5, 5, 5, 5));
|
||||
|
||||
Reference in New Issue
Block a user