| Modifier and Type | Field and Description |
|---|---|
| private final COSDictionary | |
| public static final String | SCALE_OPTION_ALWAYS
A scale option. |
| public static final String | SCALE_OPTION_NEVER
A scale option. |
| public static final String | SCALE_OPTION_ONLY_WHEN_ICON_IS_BIGGER
A scale option. |
| public static final String | SCALE_OPTION_ONLY_WHEN_ICON_IS_SMALLER
A scale option. |
| public static final String | SCALE_TYPE_ANAMORPHIC
Scale to fill with of annotation, disregarding aspect ratio. |
| public static final String | SCALE_TYPE_PROPORTIONAL
Scale to fit width or height, smaller of two, while retaining aspect ration. |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public COSDictionary | Returns: The cos object that matches this Java object.Implements org. Convert this standard java object to a COS object. |
| public PDRange | Returns: The fractional space to allocate.This is guaranteed to never return null. |
| public String | |
| public String | |
| public void | setFractionalSpaceToAllocate(PDRange
The space to allocate. space)This will set frational space to allocate. |
| public void | |
| public void | |
| public void | |
| public boolean | Returns: A flag telling if the icon should scale.This will tell if the icon should scale to fit the annotation bounds. |
| fit | back to summary |
|---|---|
| private final COSDictionary fit | |
| SCALE_OPTION_ALWAYS | back to summary |
|---|---|
| public static final String SCALE_OPTION_ALWAYS A scale option. | |
| SCALE_OPTION_NEVER | back to summary |
|---|---|
| public static final String SCALE_OPTION_NEVER A scale option. | |
| SCALE_OPTION_ONLY_WHEN_ICON_IS_BIGGER | back to summary |
|---|---|
| public static final String SCALE_OPTION_ONLY_WHEN_ICON_IS_BIGGER A scale option. | |
| SCALE_OPTION_ONLY_WHEN_ICON_IS_SMALLER | back to summary |
|---|---|
| public static final String SCALE_OPTION_ONLY_WHEN_ICON_IS_SMALLER A scale option. | |
| SCALE_TYPE_ANAMORPHIC | back to summary |
|---|---|
| public static final String SCALE_TYPE_ANAMORPHIC Scale to fill with of annotation, disregarding aspect ratio. | |
| SCALE_TYPE_PROPORTIONAL | back to summary |
|---|---|
| public static final String SCALE_TYPE_PROPORTIONAL Scale to fit width or height, smaller of two, while retaining aspect ration. | |
| FDFIconFit | back to summary |
|---|---|
| public FDFIconFit() Default constructor. | |
| FDFIconFit | back to summary |
|---|---|
| public FDFIconFit(COSDictionary f) Constructor.
| |
| getCOSObject | back to summary |
|---|---|
| public COSDictionary getCOSObject() Implements org. Convert this standard java object to a COS object.
| |
| getFractionalSpaceToAllocate | back to summary |
|---|---|
| public PDRange getFractionalSpaceToAllocate() This is guaranteed to never return null.
| |
| getScaleOption | back to summary |
|---|---|
| public String getScaleOption() This will get the scale option. See the SCALE_OPTION_XXX constants. This is guaranteed to never return null. Default: Always
| |
| getScaleType | back to summary |
|---|---|
| public String getScaleType() This will get the scale type. See the SCALE_TYPE_XXX constants. This is guaranteed to never return null. Default: Proportional
| |
| setFractionalSpaceToAllocate | back to summary |
|---|---|
| public void setFractionalSpaceToAllocate(PDRange space) This will set frational space to allocate.
| |
| setScaleOption | back to summary |
|---|---|
| public void setScaleOption(String option) This will set the scale option for the icon. Set the SCALE_OPTION_XXX constants.
| |
| setScaleToFitAnnotation | back to summary |
|---|---|
| public void setScaleToFitAnnotation(boolean value) This will tell the icon to scale.
| |
| setScaleType | back to summary |
|---|---|
| public void setScaleType(String scale) This will set the scale type. See the SCALE_TYPE_XXX constants.
| |
| shouldScaleToFitAnnotation | back to summary |
|---|---|
| public boolean shouldScaleToFitAnnotation() This will tell if the icon should scale to fit the annotation bounds. Default: false
| |