DrawAnchoredText

Grasshopper2.Extensions.GraphicsExtensionMethods

Back to DrawAnchoredText on GraphicsExtensionMethods

Examples

using Grasshopper2.Extensions;

// As an extension method
RectangleF result = graphics.DrawAnchoredText(font, colour, text, anchor, point);

// As a static method
result = GraphicsExtensionMethods.DrawAnchoredText(graphics, font, colour, text, anchor, point);