All for listen to changes to the sheet. To remove listener call the returned function.
An unsubscribe function
Readonly
isFor runtime type checking
Readonly
isFor runtime inspection.
Move drawing backward one layer in the zIndex.
Move drawing forward one layer in the zIndex.
Move drawing to the back in the zIndex.
Move drawing to the font in the zIndex.
Readonly
typeUnique type for the drawing object.
Readonly
uuidA specific uuid for use in memory.
Useful for caches and react keys. This is not persisted.
Readonly
zThe order in the z plane. To adjust this use the move methods.
Optional
copyCopies the anchor to the given sheet and coords.
Optional
options: CopyCellsOptionsReturns the anchor
Optional
getReturns how the anchorBounds adjust when inserting/removing rows/columns.
AnchorType.TwoCell
Optional
setSes the anchorBounds.
AnchorType.TwoCell
Set the absolution position of a drawing in pixels. If only some of the points are provided then only those will be moved.
T
Optional
options: SetOptionsOptional
toJSONIf defined this will be called when the containing sheet is being serialized.
Optional
toResourceId: ((resource) => number)
AnchoredItem belong to a sheet and is anchored to a range of cells.