intarsys PDF library API

de.intarsys.pdf.pd
Class PDIconFit

java.lang.Object
  extended by de.intarsys.pdf.cos.COSBasedObject
      extended by de.intarsys.pdf.pd.PDObject
          extended by de.intarsys.pdf.pd.PDIconFit
All Implemented Interfaces:
ICOSObjectListener, IAttributeSupport

public class PDIconFit
extends PDObject

An object describing the appearance of an icon within a button.


Nested Class Summary
static class PDIconFit.MetaClass
          The meta class implementation
 
Field Summary
static COSName CN_S_A
          Anamorphic scaling
static COSName CN_S_P
          Proportional scaling, default
static COSName CN_SW_A
          always scale, the default
static COSName CN_SW_B
          scale only when the icon is bigger than the annotation rectangle
static COSName CN_SW_N
          never scale
static COSName CN_SW_S
          scale only when the icon is smaller than the annotation rectangle
static COSName DK_A
           
static COSName DK_FB
           
static COSName DK_S
           
static COSName DK_SW
           
static PDIconFit.MetaClass META
          The meta class instance
 
Fields inherited from class de.intarsys.pdf.pd.PDObject
DK_Subtype, DK_Type
 
Method Summary
 float[] getAlignment()
           
 COSName getScalingCircumstances()
           
 COSName getScalingMode()
           
 boolean isIgnoreBorderWidth()
           
 void setAlignment(float[] align)
           
 void setIgnoreBorderWidth(boolean ignore)
           
 void setScalingCircumstances(COSName flag)
           
 void setScalingMode(COSName flag)
           
 
Methods inherited from class de.intarsys.pdf.pd.PDObject
cosGetFieldDescendant, cosGetFieldInheritable, cosGetFieldInherited, cosGetSubtype, cosGetType, cosRemoveFieldInheritable, cosSetFieldInheritable, cosSetSubtype, cosSetType, getDoc, getGenericChildren, getGenericParent, setGenericParent, toString
 
Methods inherited from class de.intarsys.pdf.cos.COSBasedObject
changed, cosGetArray, cosGetDict, cosGetDoc, cosGetField, cosGetObject, cosGetStream, cosHasField, cosRemoveField, cosSetField, getAttribute, getFieldBoolean, getFieldDate, getFieldFixed, getFieldFixedArray, getFieldInt, getFieldMLString, getFieldString, invalidateCaches, removeAttribute, setAttribute, setFieldBoolean, setFieldFixed, setFieldInt, setFieldMLString, setFieldName, setFieldObject, setFieldString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

META

public static final PDIconFit.MetaClass META
The meta class instance


DK_SW

public static final COSName DK_SW

DK_S

public static final COSName DK_S

DK_A

public static final COSName DK_A

DK_FB

public static final COSName DK_FB

CN_SW_A

public static final COSName CN_SW_A
always scale, the default


CN_SW_B

public static final COSName CN_SW_B
scale only when the icon is bigger than the annotation rectangle


CN_SW_S

public static final COSName CN_SW_S
scale only when the icon is smaller than the annotation rectangle


CN_SW_N

public static final COSName CN_SW_N
never scale


CN_S_A

public static final COSName CN_S_A
Anamorphic scaling


CN_S_P

public static final COSName CN_S_P
Proportional scaling, default

Method Detail

setAlignment

public void setAlignment(float[] align)

getAlignment

public float[] getAlignment()

setScalingCircumstances

public void setScalingCircumstances(COSName flag)

getScalingCircumstances

public COSName getScalingCircumstances()

setScalingMode

public void setScalingMode(COSName flag)

getScalingMode

public COSName getScalingMode()

setIgnoreBorderWidth

public void setIgnoreBorderWidth(boolean ignore)

isIgnoreBorderWidth

public boolean isIgnoreBorderWidth()

intarsys PDF library API

Copyright © 2006 intarsys consulting GmbH. All Rights Reserved.