Class DrawHelper
Static drawing utilities for the tab control, providing helpers such as rendering
reversed (rotated) text and painting raised plain-style borders.
Assembly: Reportman.Drawing.Forms.dll
Constructors
View Source
Declaration
Fields
View Source
Declaration
protected static nint _halfToneBrush
Field Value
Methods
View Source
Declaration
public static void DrawButtonCommand(Graphics g, VisualStyle style, Direction direction, Rectangle drawRect, DrawHelper.CommandState state, Color baseColor, Color trackLight, Color trackBorder)
Parameters
View Source
Declaration
public static void DrawPlainRaised(Graphics g, Rectangle boxRect, Color baseColor)
Parameters
View Source
Declaration
public static void DrawPlainRaisedBorder(Graphics g, Rectangle rect, Color lightLight, Color baseColor, Color dark, Color darkDark)
Parameters
View Source
Declaration
public static void DrawPlainRaisedBorderTopOrBottom(Graphics g, Rectangle rect, Color lightLight, Color baseColor, Color dark, Color darkDark, bool drawTop)
Parameters
View Source
Declaration
public static void DrawPlainSunken(Graphics g, Rectangle boxRect, Color baseColor)
Parameters
View Source
Declaration
public static void DrawPlainSunkenBorder(Graphics g, Rectangle rect, Color lightLight, Color baseColor, Color dark, Color darkDark)
Parameters
View Source
Declaration
public static void DrawPlainSunkenBorderTopOrBottom(Graphics g, Rectangle rect, Color lightLight, Color baseColor, Color dark, Color darkDark, bool drawTop)
Parameters
View Source
Declaration
public static void DrawReverseString(Graphics g, string drawText, Font drawFont, Rectangle drawRect, Brush drawBrush, StringFormat drawFormat)
Parameters
View Source
Declaration
public static void DrawSeparatorCommand(Graphics g, VisualStyle style, Direction direction, Rectangle drawRect, Color baseColor)
Parameters