|
Docmosis API 4.5.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.docmosis.document.ImageScalingDefault
This class provides constants for the types of image scaling available when images are inserted into a template. Use these constants with a RenderRequest to specify the default behaviour for image scaling for the render being invoked.
RenderRequest.setImageSupplier(com.docmosis.template.population.ImageSupplier)
Field Summary | |
static ImageScalingDefault |
FIT
Use this constant to specify default images should scale to fit preserving aspect ratio |
static ImageScalingDefault |
STRETCH
Use this constant to specify default images should stretch to fit both x and y |
static ImageScalingDefault |
SYSTEM_SETTINGS
Use this constant to specify default images should just do system default (docmosis.analyzer.image.scaling.default property) |
Method Summary | |
boolean |
equals(Object obj)
|
String |
getValue()
|
int |
hashCode()
|
static ImageScalingDefault |
valueOf(String value)
Find the ImageScalingDefault matching the given value |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static ImageScalingDefault SYSTEM_SETTINGS
public static ImageScalingDefault STRETCH
public static ImageScalingDefault FIT
Method Detail |
public String getValue()
public static ImageScalingDefault valueOf(String value)
value
-
public int hashCode()
public boolean equals(Object obj)
|
Docmosis API 4.5.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |