multivalent.node
public class IClip extends INode
Version: $Revision: 1.2 $ $Date: 2002/03/20 04:19:28 $
Constructor Summary | |
---|---|
IClip(String name, Map<String,Object> attr, INode parent, Shape clip) | |
IClip(String name, Map<String,Object> attr, INode parent, Shape clip, Rectangle bounds) |
Method Summary | |
---|---|
boolean | formatNode(int width, int height, Context cx) Dimensions set to WxH of clip. |
Shape | getClip() |
Rectangle | getCrop() Dimensions of clipping region. |
void | paintNode(Rectangle docclip, Context cx) Set clip, draw content, remove clip. |
Parameters: clip Generally clip has origin at (0,0) (not copied) bounds (not copied)