FrameView
A FrameView is a View subclass that draws a border of a given width and color.
Constructor
local frameview = FrameView(bounds, thickness)
For convenience, you may also set some or all of the FrameView’s properties within the constructor, i.e.:
local frameview = FrameView{bounds=Bounds(0, 0, 0, 1.0, 0.1, 0.001), color={1.0,0.2,0.4,1}, position="inside"}
Arguments
Name | Type | Description |
---|---|---|
bounds | table | A table including at least a Bounds component. |
thickness | number | The thickness of the border. |
Returns
Nothing