public final Scene setPixelSize(final int wide, final int high)
    {
        m_wide = wide;

        m_high = high;

        getElement().getStyle().setWidth(wide, Unit.PX);

        getElement().getStyle().setHeight(high, Unit.PX);

        final NFastArrayList<Layer> layers = getChildNodes();

        if (null != layers)
        {
            final int size = layers.size();

            for (int i = 0; i < size; i++)
            {
                final Layer layer = layers.get(i);

                if (null != layer)
                {
                    layer.setPixelSize(wide, high);
                }
            }
        }
        return this;
    }
public final Scene setPixelSize ( final int wide , final int high ) { m_wide = wide ; m_high = high ; getElement ( ) . getStyle ( ) . setWidth ( wide , Unit . PX ) ; getElement ( ) . getStyle ( ) . setHeight ( high , Unit . PX ) ; final NFastArrayList < Layer > layers = getChildNodes ( ) ; if ( null != layers ) { final int size = layers . size ( ) ; for ( int i = 0 ; i < size ; i ++ ) { final Layer layer = layers . get ( i ) ; if ( null != layer ) { layer . setPixelSize ( wide , high ) ; } } } return this ; }
Sets this scene's size (width and height) in pixels.

@param wide
@param high
@return this Scene