Package net.sourceforge.plantuml
Class FileFormatOption
- java.lang.Object
-
- net.sourceforge.plantuml.FileFormatOption
-
- All Implemented Interfaces:
Serializable
public final class FileFormatOption extends Object implements Serializable
A FileFormat with some parameters.- Author:
- Arnaud Roques
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FileFormatOption(FileFormat fileFormat)
FileFormatOption(FileFormat fileFormat, boolean withMetadata)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description AffineTransform
getAffineTransform()
Deprecated.StringBounder
getDefaultStringBounder(SvgCharSizeHack charSizeHack)
FileFormat
getFileFormat()
String
getHoverColor()
String
getPreserveAspectRatio()
double
getScaleCoef()
String
getSvgLinkTarget()
TikzFontDistortion
getTikzFontDistortion()
String
getWatermark()
void
hideMetadata()
boolean
isDebugSvek()
boolean
isUseRedForError()
boolean
isWithMetadata()
void
setDebugSvek(boolean debugsvek)
String
toString()
FileFormatOption
withHoverColor(String hoverColor)
FileFormatOption
withPreserveAspectRatio(String preserveAspectRatio)
FileFormatOption
withScale(double scale)
FileFormatOption
withSvgLinkTarget(String svgLinkTarget)
FileFormatOption
withTikzFontDistortion(TikzFontDistortion tikzFontDistortion)
FileFormatOption
withUseRedForError()
FileFormatOption
withWartermark(String watermark)
-
-
-
Constructor Detail
-
FileFormatOption
public FileFormatOption(FileFormat fileFormat)
-
FileFormatOption
public FileFormatOption(FileFormat fileFormat, boolean withMetadata)
-
-
Method Detail
-
getScaleCoef
public double getScaleCoef()
-
getDefaultStringBounder
public StringBounder getDefaultStringBounder(SvgCharSizeHack charSizeHack)
-
getSvgLinkTarget
public String getSvgLinkTarget()
-
isWithMetadata
public final boolean isWithMetadata()
-
getPreserveAspectRatio
public final String getPreserveAspectRatio()
-
withUseRedForError
public FileFormatOption withUseRedForError()
-
withTikzFontDistortion
public FileFormatOption withTikzFontDistortion(TikzFontDistortion tikzFontDistortion)
-
withSvgLinkTarget
public FileFormatOption withSvgLinkTarget(String svgLinkTarget)
-
withPreserveAspectRatio
public FileFormatOption withPreserveAspectRatio(String preserveAspectRatio)
-
withHoverColor
public FileFormatOption withHoverColor(String hoverColor)
-
withScale
public FileFormatOption withScale(double scale)
-
withWartermark
public FileFormatOption withWartermark(String watermark)
-
getFileFormat
public final FileFormat getFileFormat()
-
getAffineTransform
@Deprecated public AffineTransform getAffineTransform()
Deprecated.
-
isUseRedForError
public final boolean isUseRedForError()
-
setDebugSvek
public void setDebugSvek(boolean debugsvek)
-
isDebugSvek
public boolean isDebugSvek()
-
getHoverColor
public final String getHoverColor()
-
hideMetadata
public void hideMetadata()
-
getTikzFontDistortion
public final TikzFontDistortion getTikzFontDistortion()
-
getWatermark
public final String getWatermark()
-
-