Package com.ribsapp

Class RBEditorShapePainter

All Implemented Interfaces:
RMArchiver.Archiving, Cloneable

public class RBEditorShapePainter extends RMEditorShapePainter
This ribs shape painter adds support for clipping child shapes (like for scrollpane).
  • Constructor Details

    • RBEditorShapePainter

      public RBEditorShapePainter(RMEditor anEditor)
      Creates a new shape painter.
  • Method Details

    • paintShapeDeep

      public void paintShapeDeep(RMShape aShape, Graphics2D g)
      Overridden from RMEditorShapePainter to allow for clipping. An RJShape indicates that it wants clipping by returning true from clipsChildren()
      Overrides:
      paintShapeDeep in class RMShapePainter