public LinkedRectangle(Rectangle link, LineArea lineArea, InlineArea inlineArea) { this.link = link; this.lineArea = lineArea; this.inlineArea = inlineArea; }
public void addRect(Rectangle r, LineArea lineArea, InlineArea inlineArea) { LinkedRectangle linkedRectangle = new LinkedRectangle(r, lineArea, inlineArea); linkedRectangle.setY(this.yoffset); if (this.yoffset > maxY) { maxY = this.yoffset; } rects.Add(linkedRectangle); }
public void addInlineArea(InlineArea box, LinkSet ls) { addPending(); addChild(box); if (ls != null) { Rectangle lr = new Rectangle(finalWidth, 0, box.getContentWidth(), box.getContentHeight()); ls.addRect(lr, this, box); } prev = TEXT; finalWidth += box.getContentWidth(); }
public void setLineArea(InlineArea inlineArea) { this.inlineArea = inlineArea; }
public LinkedRectangle(LinkedRectangle lr) { this.link = lr.getRectangle(); this.lineArea = lr.getLineArea(); this.inlineArea = lr.getInlineArea(); }