org.jopendocument.util
Class FillMode

java.lang.Object
  extended by org.jopendocument.util.FillMode
Direct Known Subclasses:
FillMode.ZoomIn, FillMode.ZoomOut

public class FillMode
extends java.lang.Object

Specify how an image fills an area.

Author:
Sylvain CUAZ

Nested Class Summary
static class FillMode.ZoomIn
           
static class FillMode.ZoomOut
           
 
Field Summary
static FillMode STRETCH
          The whole image is stretched to fill the whole area
static FillMode ZOOM_CENTER
           
static FillMode ZOOM_LEADING
           
static FillMode ZOOM_TRAILING
           
 
Method Summary
 boolean isRatioKept()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STRETCH

public static final FillMode STRETCH
The whole image is stretched to fill the whole area


ZOOM_CENTER

public static final FillMode ZOOM_CENTER

ZOOM_LEADING

public static final FillMode ZOOM_LEADING

ZOOM_TRAILING

public static final FillMode ZOOM_TRAILING
Method Detail

isRatioKept

public final boolean isRatioKept()