Files
Basalt/docs/objects/Object/setShadow.md
Robert Jelic 4d614372a1 Updated docs
There is still stuff to do
2022-08-28 18:18:26 +02:00

450 B

setShadow

Sets the shadow color - default: false

Parameters:

  1. number|color Shadow color

Returns:

  1. object The object in use

Usage:

  • Sets the shadow to green and shows it:
local mainFrame = basalt.createFrame()
local subFrame = mainFrame:addFrame()
        :setMovable()
        :setSize(18,6)
        :setShadow(colors.green)

Or:

<frame width="18" height="6" shadowColor="green" movable="true" />