In The Hand LtdIn The Hand
GraphicsHelper Class
NamespacesInTheHand.DrawingGraphicsHelper
.NET Components for Mobility
Provides supporting methods for Graphics.
Declaration Syntax
C#Visual Basic
public static class GraphicsHelper
Public NotInheritable Class GraphicsHelper
Members
All MembersMethodsProperties



IconMemberDescription
CopyFromScreen(Graphics, Point, Point, Size)
Performs a bit-block transfer of color data, corresponding to a rectangle of pixels, from the screen to the drawing surface of the Graphics.

CopyFromScreen(Graphics, Point, Point, Size, CopyPixelOperation)
Performs a bit-block transfer of color data, corresponding to a rectangle of pixels, from the screen to the drawing surface of the Graphics.

CopyFromScreen(Graphics, Int32, Int32, Int32, Int32, Size)
Performs a bit-block transfer of the color data, corresponding to a rectangle of pixels, from the screen to the drawing surface of the Graphics.

CopyFromScreen(Graphics, Int32, Int32, Int32, Int32, Size, CopyPixelOperation)
Performs a bit-block transfer of the color data, corresponding to a rectangle of pixels, from the screen to the drawing surface of the Graphics.

DpiX
Gets the horizontal resolution of the screen.

DpiY
Gets the vertical resolution of the screen.

DrawImageAlpha(Graphics, Image, Rectangle, Rectangle, GraphicsUnit, Byte)
Draws the supplied image with the alpha value specified.

FillRectangle(Graphics, LinearGradientBrush, Rectangle)
Fills the interior of a rectangle with a horizontal or vertical gradient.

MeasureString(Graphics, String, Font, SizeF)
Measures the specified string when drawn with the specified Font within the specified layout area.

MeasureString(Graphics, String, Font, SizeF, StringFormat)
Measures the specified string when drawn with the specified Font and formatted with the specified StringFormat.

RoundedRectangle(Graphics, Pen, Brush, Rectangle, Int32)
Draws a rectangle with rounded corners.

RoundedRectangle(Graphics, Pen, LinearGradientBrush, Rectangle, Int32)
Draws a rounded rectangle with a gradient fill.

Scale(Int32)
Converts a co-ordinate value based on 96 dpi to the actual device dpi.

Inheritance Hierarchy
Object
GraphicsHelper
See Also

Assembly: InTheHand.Drawing (Module: InTheHand.Drawing) Version: 7.0.0.0