public class ImageFencePlugin extends Object implements FencePlugin
| Modifier and Type | Field and Description |
|---|---|
protected static String |
ALIGN_KEY |
protected AuxiliaryFile |
auxiliaryFile |
protected static String |
BORDER_KEY |
protected static String |
CAPTION_BOTTOM_KEY |
protected static String |
CAPTION_KEY |
protected static String |
FIT_KEY |
protected boolean |
isExternal |
protected Double |
pixelRatioFromOpts |
protected static String |
SCALE_DEPRECATED_KEY |
protected static String |
SCALE_KEY |
protected static String |
TITLE_KEY |
| Constructor and Description |
|---|
ImageFencePlugin() |
| Modifier and Type | Method and Description |
|---|---|
protected Stream<AuxiliaryFile> |
additionalAuxiliaryFiles() |
protected PluginParamsDefinition |
additionalParameters() |
protected List<Map<String,Object>> |
annotationShapes(BufferedImage image) |
Stream<AuxiliaryFile> |
auxiliaryFiles(ComponentsRegistry componentsRegistry) |
FencePlugin |
create() |
String |
id() |
PluginParamsDefinition |
parameters() |
protected Double |
pixelRatio() |
protected PluginResult |
process(ComponentsRegistry componentsRegistry,
Path markupPath,
PluginParams pluginParams) |
PluginResult |
process(ComponentsRegistry componentsRegistry,
Path markupPath,
PluginParams pluginParams,
String content) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpreprocessauxiliaryFiles, id, parameters, preprocess, textForSearchprotected static final String ALIGN_KEY
protected static final String BORDER_KEY
protected static final String TITLE_KEY
protected static final String CAPTION_KEY
protected static final String CAPTION_BOTTOM_KEY
protected static final String FIT_KEY
protected static final String SCALE_KEY
protected static final String SCALE_DEPRECATED_KEY
protected AuxiliaryFile auxiliaryFile
protected boolean isExternal
protected Double pixelRatioFromOpts
public FencePlugin create()
create in interface FencePlugincreate in interface Pluginpublic PluginResult process(ComponentsRegistry componentsRegistry, Path markupPath, PluginParams pluginParams, String content)
process in interface FencePluginprotected List<Map<String,Object>> annotationShapes(BufferedImage image)
protected Double pixelRatio()
protected PluginParamsDefinition additionalParameters()
protected Stream<AuxiliaryFile> additionalAuxiliaryFiles()
public PluginParamsDefinition parameters()
parameters in interface Pluginpublic Stream<AuxiliaryFile> auxiliaryFiles(ComponentsRegistry componentsRegistry)
auxiliaryFiles in interface Pluginprotected PluginResult process(ComponentsRegistry componentsRegistry, Path markupPath, PluginParams pluginParams)
Copyright © 2022. All rights reserved.