All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.blitline.image.functions.Pad Maven / Gradle / Ivy

package com.blitline.image.functions;

import com.blitline.image.functions.params.Gravity;

public class Pad extends AbstractFunction {
	@Override
	public String getName() {
		return "pad";
	}
	
	public Pad(int thickness) {
		params.put("size", thickness);
	}
	
	public Pad gravity(Gravity gravity) {
		params.put("gravity", gravity);
		return this;
	}
	
	public Pad color(String color) {
		params.put("color", color);
		return this;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy