public class FDFIconFit extends Object implements COSObjectable
| Modifier and Type | Field and Description | 
|---|---|
| static String | SCALE_OPTION_ALWAYSA scale option. | 
| static String | SCALE_OPTION_NEVERA scale option. | 
| static String | SCALE_OPTION_ONLY_WHEN_ICON_IS_BIGGERA scale option. | 
| static String | SCALE_OPTION_ONLY_WHEN_ICON_IS_SMALLERA scale option. | 
| static String | SCALE_TYPE_ANAMORPHICScale to fill with of annotation, disregarding aspect ratio. | 
| static String | SCALE_TYPE_PROPORTIONALScale to fit width or height, smaller of two, while retaining aspect ration. | 
| Constructor and Description | 
|---|
| FDFIconFit()Default constructor. | 
| FDFIconFit(COSDictionary f)Constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| COSDictionary | getCOSDictionary()Convert this standard java object to a COS object. | 
| COSBase | getCOSObject()Convert this standard java object to a COS object. | 
| PDRange | getFractionalSpaceToAllocate()This is guaranteed to never return null. | 
| String | getScaleOption()This will get the scale option. | 
| String | getScaleType()This will get the scale type. | 
| void | setFractionalSpaceToAllocate(PDRange space)This will set frational space to allocate. | 
| void | setScaleOption(String option)This will set the scale option for the icon. | 
| void | setScaleToFitAnnotation(boolean value)This will tell the icon to scale. | 
| void | setScaleType(String scale)This will set the scale type. | 
| boolean | shouldScaleToFitAnnotation()This will tell if the icon should scale to fit the annotation bounds. | 
public static final String SCALE_OPTION_ALWAYS
public static final String SCALE_OPTION_ONLY_WHEN_ICON_IS_BIGGER
public static final String SCALE_OPTION_ONLY_WHEN_ICON_IS_SMALLER
public static final String SCALE_OPTION_NEVER
public static final String SCALE_TYPE_ANAMORPHIC
public static final String SCALE_TYPE_PROPORTIONAL
public FDFIconFit()
public FDFIconFit(COSDictionary f)
f - The icon fit dictionary.public COSBase getCOSObject()
getCOSObject in interface COSObjectablepublic COSDictionary getCOSDictionary()
public String getScaleOption()
public void setScaleOption(String option)
option - The scale option.public String getScaleType()
public void setScaleType(String scale)
scale - The scale type.public PDRange getFractionalSpaceToAllocate()
public void setFractionalSpaceToAllocate(PDRange space)
space - The space to allocate.public boolean shouldScaleToFitAnnotation()
public void setScaleToFitAnnotation(boolean value)
value - The flag value.Copyright © 2002–2016 The Apache Software Foundation. All rights reserved.