You are here: Lua Scripting Resources eGuide > Lua Scripting API Reference Guide > 2D Editor Library > setBorderColor

3.13 setBorderColor

D2Editor:setBorderColor(color)

Sets the editor’s border color. The color value must be between 0 and 16777215 (0x000000 and 0xFFFFFF).

Returns the text editor object.

Introduced in platform.apiLevel = '2.0'