added Insets and Rect interaction
TextLayer now uses TextBuffer via DrawContext for rendering. Added additional parameters requireed for text rendering.