Example usage for com.lowagie.text Anchor Anchor

List of usage examples for com.lowagie.text Anchor Anchor

Introduction

In this page you can find the example usage for com.lowagie.text Anchor Anchor.

Prototype

public Anchor() 

Source Link

Document

Constructs an Anchor without specifying a leading.

Usage

From source file:com.amphisoft.epub2pdf.content.TextFactory.java

License:Open Source License

public Anchor newAnchor() {
    Anchor a = new Anchor();
    a.setFont(_defaultFont);//w  w  w.j  a  v a 2s .  com
    a.setLeading(_defaultFont.getSize() * getCurrentLeadingMultiplier());
    currentFont = _defaultFont;
    return a;
}