<h2>org.autoplot.jythonsupport.ui.RectanglePainter</h2><p></p> <h2>RectanglePainter( <a href='https://docs.oracle.com/javase/8/docs/api/java/awt/Color.html'>java.awt.Color</a> color )</h2> <p></p> <hr> <a name="paintLayer"></a> <h2>paintLayer</h2> paintLayer( <a href='https://docs.oracle.com/javase/8/docs/api/java/awt/Graphics.html'>java.awt.Graphics</a> g, int offs0, int offs1, <a href='https://docs.oracle.com/javase/8/docs/api/java/awt/Shape.html'>java.awt.Shape</a> bounds, <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/javax/swing/text/JTextComponent.html'>javax.swing.text.JTextComponent</a> c, <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/javax/swing/text/View.html'>javax.swing.text.View</a> view ) → <a href='https://docs.oracle.com/javase/8/docs/api/java/awt/Shape.html'>java.awt.Shape</a> <p>Paints a portion of a highlight.</p> <h3>Parameters</h3> g - the graphics context <br> offs0 - the starting model offset >= 0 <br> offs1 - the ending model offset >= offs1 <br> bounds - the bounding box of the view, which is not necessarily the region to paint. <br> c - the editor <br> view - View painting for <h3>Returns:</h3> region drawing occured in <br><br> <a href="https://github.com/autoplot/dev/search?q=paintLayer&unscoped_q=paintLayer">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/autoplot/jythonsupport/ui/RectanglePainter.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/autoplot/jythonsupport/ui/RectanglePainter.html#paintLayer">[view on old javadoc]</a> <a href="https://sourceforge.net/p/autoplot/code/HEAD/tree/autoplot/trunk/JythonSupport/src/org/autoplot/jythonsupport/ui/RectanglePainter.java#l32">[view source]</a> <br> <br>