DEVELOPER

🟩draw

CLIENT

:draw( ᶠᵘⁿᶜ fn)

▸ Parameters

fn func function executed

▸ Alias

draw, paint

▸ Description

Overrides panel Paint function

▸ Notes

Calls uclass.nodraw( ) before specified function

▸ Example

self            = ui.get( self                          )
                :draw( function( s, w, h )
                    design.rbox( 4, 1, 4, w - 2, h - 4, color_white )
                end )

▸ Associations

nodraw, savedraw

Last updated