Class TelerikPaintHelper
Inheritance
Inherited Members
Namespace: Telerik.WinControls
Assembly: Telerik.WinControls.dll
Syntax
public class TelerikPaintHelper
Constructors
TelerikPaintHelper()
Declaration
public TelerikPaintHelper()
Methods
CopyImageFromGraphics(Graphics, Bitmap)
Declaration
public static void CopyImageFromGraphics(Graphics graphics, Bitmap destinationImage)
Parameters
System.Drawing.Graphics
graphics
|
System.Drawing.Bitmap
destinationImage
|
CreateHalftoneBrush()
Declaration
public static IntPtr CreateHalftoneBrush()
Returns
System.IntPtr
|
DrawGlowingText(Graphics, String, Font, Rectangle, Color, TextFormatFlags)
Declaration
public static void DrawGlowingText(Graphics graphics, string text, Font font, Rectangle bounds, Color color, TextFormatFlags flags)
Parameters
System.Drawing.Graphics
graphics
|
System.String
text
|
System.Drawing.Font
font
|
System.Drawing.Rectangle
bounds
|
System.Drawing.Color
color
|
System.Windows.Forms.TextFormatFlags
flags
|
DrawHalftoneLine(Rectangle)
Declaration
public static void DrawHalftoneLine(Rectangle rectangle1)
Parameters
System.Drawing.Rectangle
rectangle1
|
DrawHalftoneLine(IntPtr, Rectangle, Control)
Declaration
public static void DrawHalftoneLine(IntPtr windowHandle, Rectangle rectangle1, Control managedBase)
Parameters
System.IntPtr
windowHandle
|
System.Drawing.Rectangle
rectangle1
|
System.Windows.Forms.Control
managedBase
|
DrawHalftoneLine(Control, Rectangle)
Declaration
public static void DrawHalftoneLine(Control canvasControl, Rectangle rectangle1)
Parameters
System.Windows.Forms.Control
canvasControl
|
System.Drawing.Rectangle
rectangle1
|
GenerateControlSnapshot(Control)
Generates a bitmap from System.Windows.Forms.Control or System.Windows.Forms.Form using the BitBlt extern method.
Declaration
public static Bitmap GenerateControlSnapshot(Control control)
Parameters
System.Windows.Forms.Control
control
|
Returns
System.Drawing.Bitmap
|
GenerateSnapShotWithBitBlt(Control)
Generates a bitmap from System.Windows.Forms.Control or System.Windows.Forms.Form using the BitBlt extern method.
Declaration
public static Bitmap GenerateSnapShotWithBitBlt(Control control)
Parameters
System.Windows.Forms.Control
control
|
Returns
System.Drawing.Bitmap
|
IsCompositionEnabled()
Declaration
public static bool IsCompositionEnabled()
Returns
System.Boolean
|
Mix(Color, Color)
Creates a solid color form a solid background and a semitransparent top color.
Declaration
public static Color Mix(Color background, Color top)
Parameters
System.Drawing.Color
background
The background color. Will be treated as a solid color(the Alpha/Opacity) is not respected. |
System.Drawing.Color
top
The top color with opacity. |
Returns
System.Drawing.Color
|