net.sourceforge.plantuml
Class FileFormatOption

java.lang.Object
  extended by net.sourceforge.plantuml.FileFormatOption

public class FileFormatOption
extends java.lang.Object

A FileFormat with some parameters.

Author:
Arnaud Roques

Constructor Summary
FileFormatOption(FileFormat fileFormat)
           
FileFormatOption(FileFormat fileFormat, boolean withMetadata)
           
 
Method Summary
 UGraphic createUGraphic(ColorMapper colorMapper, double dpiFactor, java.awt.geom.Dimension2D dim, HtmlColor mybackcolor, boolean rotation)
          Create a UGraphic corresponding to this FileFormatOption
 UGraphic createUGraphic(java.awt.geom.Dimension2D dim)
           
 java.awt.geom.AffineTransform getAffineTransform()
           
 FileFormat getFileFormat()
           
 boolean isUseRedForError()
           
 boolean isWithMetadata()
           
 java.lang.String toString()
           
 FileFormatOption withUseRedForError()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FileFormatOption

public FileFormatOption(FileFormat fileFormat)

FileFormatOption

public FileFormatOption(FileFormat fileFormat,
                        boolean withMetadata)
Method Detail

isWithMetadata

public final boolean isWithMetadata()

withUseRedForError

public FileFormatOption withUseRedForError()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getFileFormat

public final FileFormat getFileFormat()

getAffineTransform

public java.awt.geom.AffineTransform getAffineTransform()

createUGraphic

public UGraphic createUGraphic(ColorMapper colorMapper,
                               double dpiFactor,
                               java.awt.geom.Dimension2D dim,
                               HtmlColor mybackcolor,
                               boolean rotation)
Create a UGraphic corresponding to this FileFormatOption

Parameters:
colorMapper -
dpiFactor - 1.0 for a standard dot per inch
dim -
mybackcolor -
rotation -
Returns:

createUGraphic

public UGraphic createUGraphic(java.awt.geom.Dimension2D dim)

isUseRedForError

public final boolean isUseRedForError()


Copyright © 2014. All Rights Reserved.