We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7bb649 commit 9cb21d5Copy full SHA for 9cb21d5
modules/base/ObjectPainter.mjs
@@ -661,6 +661,11 @@ class ObjectPainter extends BasePainter {
661
return pad_painter.addToPrimitives(this);
662
}
663
664
+ /** @summary Remove painter from pad list of painters
665
+ * @desc Can be used from external frameworks to add/remove painters
666
+ * @protected */
667
+ removeFromPadPrimitives() { this.getPadPainter()?.removePrimitive(this); }
668
+
669
/** @summary Creates marker attributes object
670
* @desc Can be used to produce markers in painter.
671
* See {@link TAttMarkerHandler} for more info.
0 commit comments