Oxygen XML Editor 11.2 Author API

ro.sync.ecss.extensions.api.highlights
Class RectangleHighlightPainter

java.lang.Object
  extended by ro.sync.ecss.extensions.api.highlights.RectangleHighlightPainter
All Implemented Interfaces:
HighlightPainter

public class RectangleHighlightPainter
extends Object
implements HighlightPainter

Fill a rectangle for the given highlight.


Constructor Summary
RectangleHighlightPainter(Color fillColor)
          Constructor.
 
Method Summary
 void paint(HighlightPainterInfo pi)
          Renders the highlight.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RectangleHighlightPainter

public RectangleHighlightPainter(Color fillColor)
Constructor.

Parameters:
fillColor - The fill color.
Method Detail

paint

public void paint(HighlightPainterInfo pi)
Description copied from interface: HighlightPainter
Renders the highlight.

Specified by:
paint in interface HighlightPainter
Parameters:
pi - Information used by highlight
See Also:
HighlightPainter.paint(ro.sync.ecss.extensions.api.highlights.HighlightPainterInfo)

Oxygen XML Editor 11.2 Author API

© Copyright SyncRO Soft SRL 2002 - 2010.