AppearanceCharacteristics

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

NameTypeAccessDescription
backgroundColorReadThe background color.
borderColorReadThe border color.
rotateintReadReturns the rotation in degrees (0, 90, 180, or 270).
captionStringReadReturns the normal caption (/CA), or {@code null} if not set.
rolloverCaptionStringReadReturns the rollover caption (/RC), or {@code null}.
alternateCaptionStringReadReturns the alternate (“down”) caption (/AC), or {@code null}.
cOSDictionaryCOSDictionaryReadReturns the underlying {@code /MK} dictionary, creating it on demand.

Methods

SignatureDescription
AppearanceCharacteristics(owner: COSDictionary)
getBackground()Color
setBackground(color: Color)
getBorder()Color
setBorder(color: Color)
getRotate()intReturns the rotation in degrees (0, 90, 180, or 270).
setRotate(rotate: int)Sets the rotation.
getCaption()StringReturns the normal caption (/CA), or {@code null} if not set.
setCaption(caption: String)
getRolloverCaption()StringReturns the rollover caption (/RC), or {@code null}.
setRolloverCaption(caption: String)
getAlternateCaption()StringReturns the alternate (“down”) caption (/AC), or {@code null}.
setAlternateCaption(caption: String)
getCOSDictionary()COSDictionaryReturns the underlying {@code /MK} dictionary, creating it on demand.

See Also