check_style


Description:

public void check_style ()

This function is intended to be used by subclasses of CanvasItemSimple, typically in their update or get_requested_area methods.

It ensures that the item's style is setup correctly. If the item has its own CanvasStyle it makes sure the parent is set correctly. If it doesn't have its own style it uses the parent item's style.

Parameters:

this

a CanvasItemSimple.