org.jopendocument.util
Class FillMode.ZoomOut

java.lang.Object
  extended by org.jopendocument.util.FillMode
      extended by org.jopendocument.util.FillMode.ZoomOut
Enclosing class:
FillMode

public static class FillMode.ZoomOut
extends FillMode


Nested Class Summary
 
Nested classes/interfaces inherited from class org.jopendocument.util.FillMode
FillMode.ZoomIn, FillMode.ZoomOut
 
Field Summary
 
Fields inherited from class org.jopendocument.util.FillMode
STRETCH, ZOOM_CENTER, ZOOM_LEADING, ZOOM_TRAILING
 
Constructor Summary
FillMode.ZoomOut(Color bg)
          The image keeps its ratio and is centred in the area, leaving two outer stripes.
 
Method Summary
 Color getBackgroundColor()
           
 
Methods inherited from class org.jopendocument.util.FillMode
isRatioKept
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FillMode.ZoomOut

public FillMode.ZoomOut(Color bg)
The image keeps its ratio and is centred in the area, leaving two outer stripes.

Parameters:
bg - the colour of the 2 stripes.
Method Detail

getBackgroundColor

public final Color getBackgroundColor()


Copyright © 2010 jOpenDocument All Rights Reserved.