/// <summary> /// The draw. /// </summary> /// <param name="context"> /// The context. /// </param> /// <param name="skin"> /// The skin. /// </param> /// <param name="layout"> /// The layout. /// </param> public void Draw(IRenderContext context, ISkin skin, Rectangle layout) { skin.DrawFixedContainer(context, layout, this); if (this.Child != null) { this.Child.Draw(context, skin, this.AbsoluteRectangle); } }
/// <summary> /// The draw. /// </summary> /// <param name="context"> /// The context. /// </param> /// <param name="skin"> /// The skin. /// </param> /// <param name="layout"> /// The layout. /// </param> public void Draw(IRenderContext context, ISkin skin, Rectangle layout) { skin.DrawFixedContainer(context, layout, this); if (this.Child != null) { this.Child.Draw(context, skin, this.AbsoluteRectangle); } }