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

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

zebkit.ui.CompRender ([target])


@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