AppearanceCharacteristics
Overview
AppearanceCharacteristics is a class in Aspose.PDF FOSS for Java.
Wrapper around the widget appearance-characteristics dictionary ({@code /MK}, ISO 32000-1:2008 §12.5.6.19).
This class provides 14 methods for working with AppearanceCharacteristics objects in Java programs.
Available methods include: AppearanceCharacteristics, getAlternateCaption, getBackground, getBorder, getCaption, getPdfDictionary, getRolloverCaption, getRotate, setAlternateCaption, setBackground, setBorder, setCaption, and 2 additional methods.
All public members are accessible to any Java application after installing the Aspose.PDF FOSS for Java package.
Properties: alternateCaption, background, border, caption, pdfDictionary, rolloverCaption, and 1 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
background | Color | Read | Gets the background. |
border | Color | Read | Gets the border. |
rotate | int | Read | Returns the rotation in degrees (0, 90, 180, or 270). |
caption | String | Read | Returns the normal caption (/CA), or {@code null} if not set. |
rolloverCaption | String | Read | Returns the rollover caption (/RC), or {@code null}. |
alternateCaption | String | Read | Returns the alternate (“down”) caption (/AC), or {@code null}. |
pdfDictionary | PdfDictionary | Read | Returns the underlying {@code /MK} dictionary, creating it on demand. |
Methods
| Signature | Description |
|---|---|
AppearanceCharacteristics(owner: PdfDictionary) | |
getBackground() → Color | Returns the background. |
setBackground(color: Color) | Sets the background value. |
getBorder() → Color | Returns the border. |
setBorder(color: Color) | Sets the border value. |
getRotate() → int | Returns the rotation in degrees (0, 90, 180, or 270). |
setRotate(rotate: int) | Sets the rotation. |
getCaption() → String | Returns the normal caption (/CA), or {@code null} if not set. |
setCaption(caption: String) | Sets the caption value. |
getRolloverCaption() → String | Returns the rollover caption (/RC), or {@code null}. |
setRolloverCaption(caption: String) | Sets the rollover caption value. |
getAlternateCaption() → String | Returns the alternate (“down”) caption (/AC), or {@code null}. |
setAlternateCaption(caption: String) | Sets the alternate caption value. |
getPdfDictionary() → PdfDictionary | Returns the underlying {@code /MK} dictionary, creating it on demand. |