Class TouchUIHelper

This static class provides a number of helpful method for
drawing touch-screen UIs.

System.Object
  EPS.Windows.Forms.TouchScreen.TouchUIHelper

public sealed class TouchUIHelper : object

Class Members

MemberDescription
DrawCheckMark Draws a check mark on the graphics object passed to it.
public static void DrawCheckMark( Graphics e,
Rectangle rect );
DrawGemBackground This method draws the background of a gem style control
public static void DrawGemBackground( Graphics g,
Rectangle drawingRectangle,
int horizontalIndent,
int verticalIndent,
Color backgroundColor,
Color specularHighlightColor,
bool showHighlight,
ControlState state );
DrawGemBackgroundSolid This method draws the background of a gem style control
public static void DrawGemBackgroundSolid( Graphics g,
Rectangle drawingRectangle,
int horizontalIndent,
int verticalIndent,
Color backgroundColor );
DrawGemBackgroundWithBrush This method draws the background of a gem style control using a specified brsh
public static void DrawGemBackgroundWithBrush( Graphics g,
Rectangle drawingRectangle,
int horizontalIndent,
int verticalIndent,
Brush backgroundBrush );
DrawGemBottomEdge Draws the bottom edge of a gem style border
public static void DrawGemBottomEdge( Graphics g,
Rectangle drawingRectangle,
int largeHorizontalIndent,
int mainVerticalIndent,
int smallVerticalIndent,
Color edgeColor,
float edgeLuminance,
bool leftEdgeIsInsideEdge,
bool rightEdgeIsInsideEdge );
DrawGemBottomRightEdge Draws the bottom right edge of a gem style border
public static void DrawGemBottomRightEdge( Graphics g,
Rectangle drawingRectangle,
int mainHorizontalIndent,
int largeHorizontalIndent,
int smallHorizontalIndent,
int mainVerticalIndent,
int largeVerticalIndent,
int smallVerticalIndent,
Color edgeColor,
float edgeLuminance );
DrawGemLeftBottomEdge Draws the bottom left edge of a gem style button
public static void DrawGemLeftBottomEdge( Graphics g,
Rectangle drawingRectangle,
int mainHorizontalIndent,
int largeHorizontalIndent,
int smallHorizontalIndent,
int mainVerticalIndent,
int largeVerticalIndent,
int smallVerticalIndent,
Color edgeColor,
float edgeLuminance );
DrawGemLeftEdge Draws the left edge of a gem style border
public static void DrawGemLeftEdge( Graphics g,
Rectangle drawingRectangle,
int smallHorizontalIndent,
int mainVerticalIndent,
int largeVerticalIndent,
ControlState state,
Color edgeColor,
float edgeLuminance,
float edgeLuminanceAdjustment,
bool topEdgeIsInsideEdge,
bool bottomEdgeIsInsideEdge );
DrawGemRightEdge Draws the right edge of a gem style border
public static void DrawGemRightEdge( Graphics g,
Rectangle drawingRectangle,
int smallHorizontalIndent,
int mainVerticalIndent,
int largeVerticalIndent,
Color edgeColor,
float edgeLuminance,
bool topEdgeIsInsideEdge,
bool bottomEdgeIsInsideEdge );
DrawGemTopEdge Draws the top edge of a gem style border
public static void DrawGemTopEdge( Graphics g,
Rectangle drawingRectangle,
int largeHorizontalIndent,
int mainVerticalIndent,
int largeVerticalIndent,
int smallVerticalIndent,
ControlState state,
Color edgeColor,
float edgeLuminance,
float edgeLuminanceAdjustment,
bool leftEdgeIsOutsideEdge,
bool rightEdgeIsOutsideEdge );
DrawGemTopLeftEdge This method draws the top-left edge of a gem style border
public static void DrawGemTopLeftEdge( Graphics g,
Rectangle drawingRectangle,
int mainHorizontalIndent,
int largeHorizontalIndent,
int smallHorizontalIndent,
int mainVerticalIndent,
int largeVerticalIndent,
int smallVerticalIndent,
Color edgeColor,
float edgeLuminance,
float edgeLuminanceAdjustment );
DrawGemTopRightEdge Draws the top right edge of a gem style border
public static void DrawGemTopRightEdge( Graphics g,
Rectangle drawingRectangle,
int mainHorizontalIndent,
int largeHorizontalIndent,
int smallHorizontalIndent,
int mainVerticalIndent,
int largeVerticalIndent,
int smallVerticalIndent,
Color edgeColor,
float edgeLuminance );
GetBaseColorForStyle Returns the color used for a certain color style
public static Color GetBaseColorForStyle( ControlColorStyle style );
GetControlRegion Returns the actual region a control takes up
public static Region GetControlRegion( ControlStyle style,
Rectangle drawingRectangle,
ControlState state,
decimal sizeFactor );
GetTextSize Returns the actual size a label/text/caption takes up when rendered in a certain style
public static SizeF GetTextSize( Graphics g,
string text,
Font font,
ControlStyle style,
Rectangle drawingRectangle,
ControlState state,
decimal sizeFactor );
RenderRectangularBackground Renders the background for a control such as a button
public static void RenderRectangularBackground( Graphics g,
ControlStyle style,
ControlColorStyle color,
Rectangle drawingRectangle,
ControlState state,
decimal sizeFactor,
bool highlight,
int edgeEffectSize,
bool fillBackground );

Requirements

Namespace: EPS.Windows.Forms.TouchScreen
Assembly: TOUCHSCREENSIMPLEUI.DLL


  Last Updated: 5/23/2007 | © , 2007