| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.spire.pdf.fields.PdfButtonIconLayout
public class PdfButtonIconLayout
Represents the button icon layout options.
| Constructor Summary | |
|---|---|
| PdfButtonIconLayout() | |
| Method Summary | |
|---|---|
|  PdfButtonIconScaleMode | getScaleMode()Gets the type of scaling to use. | 
|  PdfButtonIconScaleReason | getScaleReason()Gets the circumstances under which the icon shall be scaled inside the annotation rectangle. | 
|  float[] | getSpaces()Gets an array of two numbers between 0.0 and 1.0 indicating the fraction of leftover space to allocate at the left and bottom of the icon. | 
|  boolean | isFitBounds()If true, indicates that the button appearance should be scaled to fit fully within the bounds of the annotation without taking into consideration the line width of the border. | 
|  void | isFitBounds(boolean value)If true, indicates that the button appearance should be scaled to fit fully within the bounds of the annotation without taking into consideration the line width of the border. | 
|  void | setScaleMode(PdfButtonIconScaleMode value)Sets the type of scaling to use. | 
|  void | setScaleReason(PdfButtonIconScaleReason value)Sets the circumstances under which the icon shall be scaled inside the annotation rectangle. | 
|  void | setSpaces(float[] value)Sets an array of two numbers between 0.0 and 1.0 indicating the fraction of leftover space to allocate at the left and bottom of the icon. | 
| Constructor Detail | 
|---|
public PdfButtonIconLayout()
| Method Detail | 
|---|
public PdfButtonIconScaleReason getScaleReason()
public void setScaleReason(PdfButtonIconScaleReason value)
public float[] getSpaces()
public void setSpaces(float[] value)
public boolean isFitBounds()
public void isFitBounds(boolean value)
public PdfButtonIconScaleMode getScaleMode()
public void setScaleMode(PdfButtonIconScaleMode value)
| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||