The link.
Inheritance: IContainer
Example #1
0
 /// <summary>
 /// The draw link.
 /// </summary>
 /// <param name="context">
 /// The context.
 /// </param>
 /// <param name="layout">
 /// The layout.
 /// </param>
 /// <param name="link">
 /// The link.
 /// </param>
 public void DrawLink(IRenderContext context, Rectangle layout, Link link)
 {
     this.m_RenderUtilities.RenderText(
         context,
         new Vector2(layout.Center.X, layout.Center.Y),
         link.Text,
         this.m_AssetManager.Get<FontAsset>("font.Default"),
         HorizontalAlignment.Center,
         VerticalAlignment.Center,
         Color.Blue);
 }
Example #2
0
 public void DrawLink(IRenderContext context, Rectangle layout, Link link)
 {
     this.m_BasicSkin.DrawLink(context, layout, link);
 }