multivalent.std.adaptor.pdf

Class FixedLeafShade

public class FixedLeafShade extends Leaf implements Fixed

INCOMPLETE. Only Axial type implemented; others only draw background. Variety of PDF shadings.

Version: $Revision: 1.5 $ $Date: 2003/08/29 04:00:39 $

Constructor Summary
protected FixedLeafShade(String name, Dict dict, INode parent, ColorSpace cs, Rectangle bbox, PDFReader pdfr)
Method Summary
RectanglegetIbbox()
static FixedLeafShadegetInstance(Dict dict, ColorSpace cs, Rectangle bbox, INode parent, PDFReader pdfr)
Returns leaf that performs the type of smooth shading (gradient) described by the passed shading dictionary within the area bbox.
booleanpaintNodeContent(Context cx, int start, int end)
Paint (plain) background, on top of which gradient is drawn.

Constructor Detail

FixedLeafShade

protected FixedLeafShade(String name, Dict dict, INode parent, ColorSpace cs, Rectangle bbox, PDFReader pdfr)

Method Detail

getIbbox

public Rectangle getIbbox()

getInstance

public static FixedLeafShade getInstance(Dict dict, ColorSpace cs, Rectangle bbox, INode parent, PDFReader pdfr)
Returns leaf that performs the type of smooth shading (gradient) described by the passed shading dictionary within the area bbox.

paintNodeContent

public boolean paintNodeContent(Context cx, int start, int end)
Paint (plain) background, on top of which gradient is drawn.