Package org.spincast.plugins.watermarker
Interface SpincastWatermarkerFactory
public interface SpincastWatermarkerFactory
-
Method Summary
Modifier and TypeMethodDescriptioncreateImageWatermarker
(String text, Color textColor, Color backgroundColor, Font textFont, String imageFilePath, boolean imageFileOnClasspath, SpincastWatermarkPosition position, Integer margin, Float opacity, Integer percentageWidth, Integer borderWidth, Color borderColor) Creates aSpincastImageWatermarker
directly.Starts the creation of aSpincastImageWatermarker
.
-
Method Details
-
imageWatermarkerBuilder
SpincastImageWatermarkerBuilder imageWatermarkerBuilder()Starts the creation of aSpincastImageWatermarker
. -
createImageWatermarker
SpincastImageWatermarker createImageWatermarker(@Nullable String text, @Nullable Color textColor, @Nullable Color backgroundColor, @Nullable Font textFont, @Nullable String imageFilePath, boolean imageFileOnClasspath, @Nullable SpincastWatermarkPosition position, @Nullable Integer margin, @Nullable Float opacity, @Nullable Integer percentageWidth, @Nullable Integer borderWidth, @Nullable Color borderColor) Creates aSpincastImageWatermarker
directly.Note that you can use
imageWatermarkerBuilder()
for an easier way to build it.
-