Class zebkit.ui.CompRender
extends <zebkit.draw.Render>
<zebkit.ui>

UI component render class. Renders the given target UI component on the given surface using the specified 2D context

Constructor:
zebkit.ui.CompRender ([target])

Parameters:




@Override zebkit.draw.View
public <Object> getPreferredSize ( )

Get preferred size of the render. The method doesn't calculates preferred size it simply calls the target component "getPreferredSize" method.


Returns: <Object>

a preferred size

 {width:<Integer>, height: <Integer>}


Inherited attributes:
public Object target