diff --git a/src/snap/view/StringView.java b/src/snap/view/StringView.java index 1c41b6de..7a15fe50 100644 --- a/src/snap/view/StringView.java +++ b/src/snap/view/StringView.java @@ -373,6 +373,17 @@ protected double getPrefHeightImpl(double aW) return textH + ins.getHeight(); } + /** + * A paint method for painting StringView outside of View hierarchy. + */ + public void paintStringView(Painter aPntr) + { + aPntr.save(); + aPntr.transform(getLocalToParent()); + paintAll(aPntr); + aPntr.restore(); + } + /** * Paints StringView. */