MenuStateProperties

The MenuStateProperties interface represents menu item styling properties for a specific menu item state.

BackgroundStyleProperties Functions

getBackgroundColor MenuStateProperties.getBackgroundColor( ) Background color.
setBackgroundColor MenuStateProperties.setBackgroundColor( backgroundColor ) Sets the background color, this is equivalent to the CSS background-color property and any valid value for this CSS property can be used.
getBackgroundImage MenuStateProperties.getBackgroundImage( ) URL of the background image.
setBackgroundImage MenuStateProperties.setBackgroundImage( backgroundImage ) Sets the URL of the background image.
getBackgroundImagePosition MenuStateProperties.getBackgroundImagePosition( ) Background image position.
setBackgroundImagePosition MenuStateProperties.setBackgroundImagePosition( backgroundImagePosition ) Sets the background image position.
getBackgroundImageRepeat MenuStateProperties.getBackgroundImageRepeat( ) Background image repeat property.
setBackgroundImageRepeat MenuStateProperties.setBackgroundImageRepeat( backgroundImageRepeat ) Sets the background image repeat property.

TextStyleProperties Functions

getLineHeight MenuStateProperties.getLineHeight( ) Line height.
setLineHeight MenuStateProperties.setLineHeight( lineHeight ) Sets the line height, this is equivalent to the CSS line-height property and any valid value for this CSS property can be used.
getTextBold MenuStateProperties.getTextBold( ) Text bold setting.
setTextBold MenuStateProperties.setTextBold( textBold ) Sets the text bold setting.
getTextColor MenuStateProperties.getTextColor( ) Text color.
setTextColor MenuStateProperties.setTextColor( textColor ) Sets the text color, this is equivalent to the CSS color property and any valid value for this CSS property can be used.
getTextDecoration MenuStateProperties.getTextDecoration( ) Text decoration property (shown as Lines in the designer).
setTextDecoration MenuStateProperties.setTextDecoration( textDecoration ) Sets the text decoration property (shown as Lines in the designer).
getTextFont MenuStateProperties.getTextFont( ) List of text fonts.
setTextFont MenuStateProperties.setTextFont( textFont ) Sets the list of text fonts, this is equivalent to the CSS font-family property and any valid value for this CSS property can be used.
getTextItalic MenuStateProperties.getTextItalic( ) Text italic setting.
setTextItalic MenuStateProperties.setTextItalic( textItalic ) Sets the text italic setting.
getTextSize MenuStateProperties.getTextSize( ) Text size.
setTextSize MenuStateProperties.setTextSize( textSize ) Sets the text size, this is equivalent to the CSS font-size property and any valid value for this CSS property can be used.