/** {@inheritDoc} */ @Nonnull @Override protected DisplayObject newInstance( @Nonnull final LayoutContext context, final float width, final float height) { final Quad quad = new Quad(); if (width >= 0.0f) { quad.width(width); } if (height >= 0.0f) { quad.height(height); } return quad; }