Class CanvasRenderBox

  • All Implemented Interfaces:
    Cloneable

    public final class CanvasRenderBox
    extends RenderBox
    A renderbox that behaves like a huge canvas. Elements can be painted freely on this box.
    Author:
    Thomas Morgner
    • Method Detail

      • extendHeight

        public long extendHeight​(RenderNode child,
                                 long heightOffset)
        Description copied from class: RenderBox
        Notifies a box that one of its childs has extended its height. The child's height property already contains the new height. The amount given is the offset from the old height to the new height, and is always a positive number.
        Overrides:
        extendHeight in class RenderBox