UIElement: Add onTextComposition and onTextInput events.
Painter: Add path clipping support.