Package net.sf.jpluck.plucker.functions

Examples of net.sf.jpluck.plucker.functions.Margin


    public static final TextColor textColor(Color color) {
        return new TextColor(color);
    }

    public static final Margin margin(int left, int right) {
        return new Margin(left, right);
    }
View Full Code Here


        ByteArrayOutputStream baos = new ByteArrayOutputStream();
        PdbOutputStream out = new PdbOutputStream(baos);
        new Text(number + ". ", "ISO-8859-1").write(out);
        out.writeByte(0);
        new Margin(margin, 0).write(out);
        out.close();
        content = baos.toByteArray();
      } catch (IOException e) {
        // Should not occur
        throw new RuntimeException(e);
View Full Code Here

TOP

Related Classes of net.sf.jpluck.plucker.functions.Margin

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.