MCPcopy
hub / github.com/fabricjs/fabric.js / item

Method item

src/Collection.ts:120–122  ·  view source on GitHub ↗

* Returns object at specified index * @param {Number} index * @return {Object} object at index

(index: number)

Source from the content-addressed store, hash-verified

118 * @return {Object} object at index
119 */
120 item(index: number) {
121 return this._objects[index];
122 }
123
124 /**
125 * Returns true if collection contains no objects

Callers 14

canvas.jsFile · 0.80
assertCanvasDisposingFunction · 0.80
testCanvasDisposingFunction · 0.80
group.jsFile · 0.80
canvas_static.jsFile · 0.80
onCompleteFunction · 0.80
collection.jsFile · 0.80
activeselection.jsFile · 0.80
canvas_events.jsFile · 0.80
fitContentLayoutChangeFunction · 0.80
handleMultiSelectionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected