src/main/java/org/gm4java/im4java/GMOperation.java
public GMOperation drawText(final String text, final int offsetX, final int offsetY) {
        if (isBlank(text)) {
            throw new IllegalArgumentException("Text string must be defined");
        }
        draw(String.format(Locale.ENGLISH,"text %d %d '%s'", offsetX, offsetY, text));
        return this;
    }
public GMOperation drawText(final String text, final int offsetX, final int offsetY) {
        if (isBlank(text)) {
            throw new IllegalArgumentException("Text string must be defined");
        }
        draw(String.format(Locale.ENGLISH,"text %d %d '%s'", offsetX, offsetY, text));
        return this;
    }
public GMOperation drawText ( final String text , final int offsetX , final int offsetY ) { if ( isBlank ( text ) ) { throw new IllegalArgumentException ( "Text string must be defined" ) ; } draw ( String . format ( Locale . ENGLISH , "text %d %d '%s'" , offsetX , offsetY , text ) ) ; return this ; }
Draws text overlay on image with the upper-right corner defined by the {@code offsetX} and {@code offsetY}
parameters. Note that {@link#gravity(Gravity)} will affect how the offset values are interpreted.

@param text
Text to write.
@param offsetX
Offset value in the horizontal direction.
@param offsetY
Offset value in the vertical direction.
@return Builder object for chained options setup.
Draws text overlay on image with the upper - right corner defined by the { @code offsetX } and { @code offsetY } parameters . Note that { @link#gravity ( Gravity ) } will affect how the offset values are interpreted .