DrawTextInFrame
Grasshopper2.Extensions.GraphicsExtensionMethods
Examples
using Grasshopper2.Extensions;
// As an extension method
graphics.DrawTextInFrame(font, colour, text, frame, horizontal);
// As a static method
GraphicsExtensionMethods.DrawTextInFrame(graphics, font, colour, text, frame, horizontal);