oracle.cabo.image.painter
Interface BorderPainter
- All Superinterfaces:
- Painter
- All Known Implementing Classes:
- AbstractBorderPainter, NullPainter
- public interface BorderPainter
- extends Painter
A subinterface of Painter adding the ability to get the insets of the painter.
getInsets
public ImmInsets getInsets(PaintContext context)
- Returns the amount of space the border will require on each side.
-
- Parameters:
context
- the context for painting
getFillInsets
public ImmInsets getFillInsets(PaintContext context)
- Returns the amount of space by which fills should be inset.
-
- Parameters:
context
- the context for painting