C# Класс Alsing.Drawing.DrawingTools

Показать файл Открыть проект

Открытые методы

Метод Описание
DrawBorder ( BorderStyle2 Style, Color BorderColor, Graphics g, Rectangle r ) : void
DrawControl ( Control control ) : Bitmap
DrawControl ( Control control, Bitmap b ) : bool
DrawDesignTimeBorder ( Graphics g, Rectangle rect ) : void
DrawDesignTimeLine ( Graphics g, int x1, int y1, int x2, int y2 ) : void
DrawGrayImage ( Graphics g, Image Image, int X, int Y, float TransparencyFactor ) : void
DrawInsertIndicatorH ( int x, int y, int width, Graphics g, Color c ) : void
DrawInsertIndicatorV ( int x, int y, int height, Graphics g, Color c ) : void
DrawSortArrow ( int x, int y, Graphics g, bool Ascending ) : void
DrawTransparentImage ( Graphics g, Image Image, int X, int Y, float TransparencyFactor ) : void
MixColors ( Color c1, Color c2, double mix ) : Color

Приватные методы

Метод Описание
DrawBorder ( Border3DStyle Style, Color BorderColor, Graphics g, Rectangle r ) : void
DrawRaisedBorder ( Graphics g, Brush dark, Rectangle r, Brush darkdark, Brush light, Brush normal ) : void
DrawSunkenBorder ( Graphics g, Brush dark, Rectangle r, Brush darkdark, Brush light, Brush normal ) : void
DrawSunkenOuterBorder ( Graphics g, Brush dark, Rectangle r, Brush light ) : void
GetDarkBrush ( Color BorderColor ) : SolidBrush
GetDarkDarkBrush ( Color BorderColor ) : SolidBrush
GetLightBrush ( Color BorderColor ) : SolidBrush
GetNormalBrush ( Color BorderColor ) : SolidBrush
RaisedInnerBorder ( Graphics g, Brush dark, Rectangle r, Brush light ) : void

Описание методов

DrawBorder() публичный статический метод

public static DrawBorder ( BorderStyle2 Style, Color BorderColor, Graphics g, Rectangle r ) : void
Style BorderStyle2
BorderColor Color
g System.Drawing.Graphics
r System.Drawing.Rectangle
Результат void

DrawControl() публичный статический метод

public static DrawControl ( Control control ) : Bitmap
control System.Windows.Forms.Control
Результат System.Drawing.Bitmap

DrawControl() публичный статический метод

public static DrawControl ( Control control, Bitmap b ) : bool
control System.Windows.Forms.Control
b System.Drawing.Bitmap
Результат bool

DrawDesignTimeBorder() публичный статический метод

public static DrawDesignTimeBorder ( Graphics g, Rectangle rect ) : void
g System.Drawing.Graphics
rect System.Drawing.Rectangle
Результат void

DrawDesignTimeLine() публичный статический метод

public static DrawDesignTimeLine ( Graphics g, int x1, int y1, int x2, int y2 ) : void
g System.Drawing.Graphics
x1 int
y1 int
x2 int
y2 int
Результат void

DrawGrayImage() публичный статический метод

public static DrawGrayImage ( Graphics g, Image Image, int X, int Y, float TransparencyFactor ) : void
g System.Drawing.Graphics
Image Image
X int
Y int
TransparencyFactor float
Результат void

DrawInsertIndicatorH() публичный статический метод

public static DrawInsertIndicatorH ( int x, int y, int width, Graphics g, Color c ) : void
x int
y int
width int
g System.Drawing.Graphics
c Color
Результат void

DrawInsertIndicatorV() публичный статический метод

public static DrawInsertIndicatorV ( int x, int y, int height, Graphics g, Color c ) : void
x int
y int
height int
g System.Drawing.Graphics
c Color
Результат void

DrawSortArrow() публичный статический метод

public static DrawSortArrow ( int x, int y, Graphics g, bool Ascending ) : void
x int
y int
g System.Drawing.Graphics
Ascending bool
Результат void

DrawTransparentImage() публичный статический метод

public static DrawTransparentImage ( Graphics g, Image Image, int X, int Y, float TransparencyFactor ) : void
g System.Drawing.Graphics
Image Image
X int
Y int
TransparencyFactor float
Результат void

MixColors() публичный статический метод

public static MixColors ( Color c1, Color c2, double mix ) : Color
c1 Color
c2 Color
mix double
Результат Color