multivalent.node

Class FixedIClip

public class FixedIClip extends IClip implements Fixed

Clips children to be within its bbox, WxH of which are given in constructor and are independent of size and position of children.

Version: $Revision: 1.2 $ $Date: 2002/06/01 16:02:10 $

Constructor Summary
FixedIClip(String name, Map<String,Object> attr, INode parent, Shape clip, Rectangle bounds)
FixedIClip(String name, Map<String,Object> attr, INode parent, Shape clip)
Method Summary
booleanformatNode(int width, int height, Context cx)
Make children relative according to initial bboxes.
RectanglegetIbbox()

Constructor Detail

FixedIClip

public FixedIClip(String name, Map<String,Object> attr, INode parent, Shape clip, Rectangle bounds)

FixedIClip

public FixedIClip(String name, Map<String,Object> attr, INode parent, Shape clip)

Method Detail

formatNode

public boolean formatNode(int width, int height, Context cx)
Make children relative according to initial bboxes.

getIbbox

public Rectangle getIbbox()