(RenderContext context, string renderText, int yPrice, Color color)
| 228 | #region RENDER CONTEXT |
| 229 | |
| 230 | private void DrawString(RenderContext context, string renderText, int yPrice, Color color) |
| 231 | { |
| 232 | var textSize = context.MeasureString(renderText, new RenderFont("Arial", 9)); |
| 233 | context.DrawString(renderText, new RenderFont("Arial", 9), color, |
| 234 | Container.Region.Right - textSize.Width - 5, yPrice - textSize.Height); |
| 235 | } |
| 236 | |
| 237 | protected override void OnRender(RenderContext context, DrawingLayouts layout) |
| 238 | { |