Search Results for

    Show / Hide Table of Contents

    Class DrawHelper

    Inheritance
    object
    DrawHelper
    Inherited Members
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: Reportman.Drawing.Forms
    Assembly: Reportman.Drawing.Forms.dll
    Syntax
    public class DrawHelper

    Constructors

    DrawHelper()

    Declaration
    public DrawHelper()

    Fields

    _halfToneBrush

    Declaration
    protected static nint _halfToneBrush
    Field Value
    Type Description
    nint

    Methods

    DrawButtonCommand(Graphics, VisualStyle, Direction, Rectangle, CommandState, Color, Color, Color)

    Declaration
    public static void DrawButtonCommand(Graphics g, VisualStyle style, Direction direction, Rectangle drawRect, DrawHelper.CommandState state, Color baseColor, Color trackLight, Color trackBorder)
    Parameters
    Type Name Description
    Graphics g
    VisualStyle style
    Direction direction
    Rectangle drawRect
    DrawHelper.CommandState state
    Color baseColor
    Color trackLight
    Color trackBorder

    DrawPlainRaised(Graphics, Rectangle, Color)

    Declaration
    public static void DrawPlainRaised(Graphics g, Rectangle boxRect, Color baseColor)
    Parameters
    Type Name Description
    Graphics g
    Rectangle boxRect
    Color baseColor

    DrawPlainRaisedBorder(Graphics, Rectangle, Color, Color, Color, Color)

    Declaration
    public static void DrawPlainRaisedBorder(Graphics g, Rectangle rect, Color lightLight, Color baseColor, Color dark, Color darkDark)
    Parameters
    Type Name Description
    Graphics g
    Rectangle rect
    Color lightLight
    Color baseColor
    Color dark
    Color darkDark

    DrawPlainRaisedBorderTopOrBottom(Graphics, Rectangle, Color, Color, Color, Color, bool)

    Declaration
    public static void DrawPlainRaisedBorderTopOrBottom(Graphics g, Rectangle rect, Color lightLight, Color baseColor, Color dark, Color darkDark, bool drawTop)
    Parameters
    Type Name Description
    Graphics g
    Rectangle rect
    Color lightLight
    Color baseColor
    Color dark
    Color darkDark
    bool drawTop

    DrawPlainSunken(Graphics, Rectangle, Color)

    Declaration
    public static void DrawPlainSunken(Graphics g, Rectangle boxRect, Color baseColor)
    Parameters
    Type Name Description
    Graphics g
    Rectangle boxRect
    Color baseColor

    DrawPlainSunkenBorder(Graphics, Rectangle, Color, Color, Color, Color)

    Declaration
    public static void DrawPlainSunkenBorder(Graphics g, Rectangle rect, Color lightLight, Color baseColor, Color dark, Color darkDark)
    Parameters
    Type Name Description
    Graphics g
    Rectangle rect
    Color lightLight
    Color baseColor
    Color dark
    Color darkDark

    DrawPlainSunkenBorderTopOrBottom(Graphics, Rectangle, Color, Color, Color, Color, bool)

    Declaration
    public static void DrawPlainSunkenBorderTopOrBottom(Graphics g, Rectangle rect, Color lightLight, Color baseColor, Color dark, Color darkDark, bool drawTop)
    Parameters
    Type Name Description
    Graphics g
    Rectangle rect
    Color lightLight
    Color baseColor
    Color dark
    Color darkDark
    bool drawTop

    DrawReverseString(Graphics, string, Font, Rectangle, Brush, StringFormat)

    Declaration
    public static void DrawReverseString(Graphics g, string drawText, Font drawFont, Rectangle drawRect, Brush drawBrush, StringFormat drawFormat)
    Parameters
    Type Name Description
    Graphics g
    string drawText
    Font drawFont
    Rectangle drawRect
    Brush drawBrush
    StringFormat drawFormat

    DrawSeparatorCommand(Graphics, VisualStyle, Direction, Rectangle, Color)

    Declaration
    public static void DrawSeparatorCommand(Graphics g, VisualStyle style, Direction direction, Rectangle drawRect, Color baseColor)
    Parameters
    Type Name Description
    Graphics g
    VisualStyle style
    Direction direction
    Rectangle drawRect
    Color baseColor
    In this article
    Back to top Generated by DocFX