Package com.ribsapp

Class RBEditorShapePainter

  • All Implemented Interfaces:
    RMArchiver.Archiving, java.lang.Cloneable

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

      • RBEditorShapePainter

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

      • paintShapeDeep

        public void paintShapeDeep​(RMShape aShape,
                                   java.awt.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