// Path: e-paper-client-api/src/main/java/fr/romainmoreau/epaper/client/api/EPaperException.java
// public class EPaperException extends Exception {
// 	private static final long serialVersionUID = 1L;
// 
// 	public EPaperException() {
// 		super();
// 	}
// 
// 	public EPaperException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
// 		super(message, cause, enableSuppression, writableStackTrace);
// 	}
// 
// 	public EPaperException(String message, Throwable cause) {
// 		super(message, cause);
// 	}
// 
// 	public EPaperException(String message) {
// 		super(message);
// 	}
// 
// 	public EPaperException(Throwable cause) {
// 		super(cause);
// 	}
// }


import java.io.IOException;
import fr.romainmoreau.epaper.client.api.EPaperException;
package fr.romainmoreau.epaper.client.api.table;



public class PaddedCellContent implements CellContent {
	private final int leftPadding;

	private final int rightPadding;

	private final int topPadding;

	private final int bottomPadding;

	private final CellContent cellContent;

	public PaddedCellContent(int leftPadding, int rightPadding, int topPadding, int bottomPadding,
			CellContent cellContent) {
		this.leftPadding = leftPadding;
		this.rightPadding = rightPadding;
		this.topPadding = topPadding;
		this.bottomPadding = bottomPadding;
		this.cellContent = cellContent;
	}

	@Override
	public void draw(int x0, int y0, int x1, int y1, CellContentDrawer cellContentDrawer)
// Path: e-paper-client-api/src/main/java/fr/romainmoreau/epaper/client/api/EPaperException.java
// public class EPaperException extends Exception {
// 	private static final long serialVersionUID = 1L;
// 
// 	public EPaperException() {
// 		super();
// 	}
// 
// 	public EPaperException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
// 		super(message, cause, enableSuppression, writableStackTrace);
// 	}
// 
// 	public EPaperException(String message, Throwable cause) {
// 		super(message, cause);
// 	}
// 
// 	public EPaperException(String message) {
// 		super(message);
// 	}
// 
// 	public EPaperException(Throwable cause) {
// 		super(cause);
// 	}
// }


// Path: e-paper-client-api/src/main/java/fr/romainmoreau/epaper/client/api/table/PaddedCellContent.java
import java.io.IOException;
import fr.romainmoreau.epaper.client.api.EPaperException;

package fr.romainmoreau.epaper.client.api.table;



public class PaddedCellContent implements CellContent {
	private final int leftPadding;

	private final int rightPadding;

	private final int topPadding;

	private final int bottomPadding;

	private final CellContent cellContent;

	public PaddedCellContent(int leftPadding, int rightPadding, int topPadding, int bottomPadding,
			CellContent cellContent) {
		this.leftPadding = leftPadding;
		this.rightPadding = rightPadding;
		this.topPadding = topPadding;
		this.bottomPadding = bottomPadding;
		this.cellContent = cellContent;
	}

	@Override
	public void draw(int x0, int y0, int x1, int y1, CellContentDrawer cellContentDrawer)
			throws IOException, EPaperException {