class

Frame

Inherits Sketchbook::Group < Sketchbook::Element < Reference < Object

Instance methods

adopt(child)
bg

Returns the background color of this frame.

border_color

Returns the color of this frame's border.

border_width

Returns width of this frame's border.

focused=(focused : Bool)

Holds whether this frame has focus.

focused?

Holds whether this frame has focus.

padding

Returns the content padding of this form.

render(target)

Renders this element on the screen.

req

Returns the minimum required size of this group: the position of the corner of its rightmost & bottommost element.

shadow

Returns the shadow shape of this frame.

shadow_color

Returns the color of this frame's shadow.

shadow_extra

Returns Point extra of this frame's shadow.

shape

Returns the main shape of this frame.