add

add(String path, String templateKey, TContextObject contextObject) method

Adds an output element for the context object.

Parameters

NameTypeDescription
pathStringOutput path.
templateKeyStringThe key of the template used for context object transformation before output.
contextObjectTContextObjectContext object.

Returns

OutputFile


add(String path, PPImage image) method

Adds an output element for the image.

Parameters

NameTypeDescription
pathStringOutput path.
imagePPImageImage to output.

Returns

OutputFile


add(String path, BufferedImage image) method

Adds an output element for the image.

Parameters

NameTypeDescription
pathStringOutput path.
imageBufferedImageImage to output.

Returns

OutputFile


add(String path, Video video) method

Adds an output element for the video.

Parameters

NameTypeDescription
pathStringOutput path.
videoVideoVideo to output.

Returns

OutputFile


add(String path, FontData fontData, int fontStyle) method

Adds an output element for the font.

Parameters

NameTypeDescription
pathStringOutput path.
fontDataFontDataFont to output.
fontStyleintFont style.

Returns

OutputFile


add(String path, String textContent) method

Adds an output element for the text content.

Parameters

NameTypeDescription
pathStringOutput path.
textContentStringContent to output.

Returns

OutputFile