Method DrawTextWithAngle
DrawTextWithAngle(ReadOnlySpan<char>, PointD, Font, Color, Color, float)
Draws text with the specified angle, font, background and foreground colors.
public override void DrawTextWithAngle(ReadOnlySpan<char> text, PointD location, Font font, Color foreColor, Color backColor, float angle)
Parameters
textReadOnlySpan<char>Text to draw.
locationPointDLocation used to draw the text.
fontFontFont used to draw the text.
foreColorColorForeground color of the text.
backColorColorBackground color of the text. If parameter is equal to Empty, background will not be painted.
anglefloatThe angle, in degrees, relative to the (default) horizontal direction to draw the string.