ITopToolbarConfig

A structure containing configuration of the Top toolbar.

Properties

Optional alignButtonsEnabled

alignButtonsEnabled: boolean

Displays the vertical aligment buttons (Top, Center, Bottom). The default value is true.

Optional borderColorButtonEnabled

borderColorButtonEnabled: boolean

Displays button borders in the Top toolbar menu. The default value is true.

Optional cloneButtonEnabled

cloneButtonEnabled: boolean

Displays the Clone object button. The default value is false.

Optional closeFontMenuOnClickEnabled

closeFontMenuOnClickEnabled: boolean

If true, the Select font drop-down list closes after a user selects a font; otherwise, it closes only when a user clicks anywhere outside the list. The default value is true.

Optional fontPreviewSize

fontPreviewSize: number

The font size used to display font names in the Select font drop-down list. The default value is 17.

Optional fontSize

fontSize: IRangeParams

Top toolbar font size.

Optional historyButtonsEnabled

historyButtonsEnabled: boolean

Displays the Undo and Redo buttons. The default value is true.

Optional multiRowModeEnabled

multiRowModeEnabled: boolean

Displays the Top toolbar menu in multi row mode to fit all the buttons for a screen. The default value is false.

Optional opacitySliderEnabled

opacitySliderEnabled: boolean

If true, provides the ability to change layer opacity via the opacity slider in the top toolbar. The default value is true.

Optional revertButtonEnabled

revertButtonEnabled: boolean

Displays the Revert button. The default value is true.

Optional textAlignmentButtonsEnabled

textAlignmentButtonsEnabled: boolean

Displays the text alignment buttons. The default value is true.

Optional textEmphasisButtonsEnabled

textEmphasisButtonsEnabled: boolean

Displays the faux text style buttons (bold, italic, and underlined). The default value is true.

Optional textFontColorButtonEnabled

textFontColorButtonEnabled: boolean

Displays the text color picker. The default value is true.

Optional textFontFamilyButtonEnabled

textFontFamilyButtonEnabled: boolean

Displays the font list. The default value is true.

Optional textFontSizeButtonEnabled

textFontSizeButtonEnabled: boolean

Displays the font size spinner. The default value is true.

Optional textFontStyleButtonEnabled

textFontStyleButtonEnabled: boolean

Displays the font style list. The default value is true.

Optional textLeadingButtonEnabled

textLeadingButtonEnabled: boolean

Displays the text leading button. The default value is true.

Optional textShadow

textShadow: ITextShadowParam

An angle in degrees, an indent in points, and a blur value in pixels of a text shadow. The default values are calculated based on the text font size.

Optional textShadowButtonEnabled

textShadowButtonEnabled: boolean

Displays the text shadow button. The default value is true.

Optional textStroke

textStroke: IRangeParams

Min and max values of a text stroke width in points. The default values are calculated based on the text font size.

Optional textStrokeButtonEnabled

textStrokeButtonEnabled: boolean

Displays the text stroke button. The default value is true.

Optional textTrackingButtonEnabled

textTrackingButtonEnabled: boolean

Displays the text tracking button. The default value is true.

Optional zOrderButtonsEnabled

zOrderButtonsEnabled: boolean

Displays the z-Order buttons. The default value is false.