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 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
           
 
Constructor Summary
protected FillMode(boolean keepRatio)
           
 
Method Summary
 boolean isRatioKept()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, 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
Constructor Detail

FillMode

protected FillMode(boolean keepRatio)
Method Detail

isRatioKept

public final boolean isRatioKept()


Copyright © 2010 jOpenDocument All Rights Reserved.