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).
Properties
| Name | Type | Access | Description |
|---|---|---|---|
background | Color | Read | The background color. |
border | Color | Read | The border color. |
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}. |
cOSDictionary | COSDictionary | Read | Returns the underlying {@code /MK} dictionary, creating it on demand. |
Methods
| Signature | Description |
|---|---|
AppearanceCharacteristics(owner: COSDictionary) | |
getBackground() → Color | |
setBackground(color: Color) | |
getBorder() → Color | |
setBorder(color: Color) | |
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) | |
getRolloverCaption() → String | Returns the rollover caption (/RC), or {@code null}. |
setRolloverCaption(caption: String) | |
getAlternateCaption() → String | Returns the alternate (“down”) caption (/AC), or {@code null}. |
setAlternateCaption(caption: String) | |
getCOSDictionary() → COSDictionary | Returns the underlying {@code /MK} dictionary, creating it on demand. |