C# 클래스 ComponentFactory.Krypton.Toolkit.RenderExpertHelpers

Helper functions for drawing in the glass styles.
파일 보기 프로젝트 열기: ComponentFactory/Krypton

공개 메소드들

메소드 설명
DrawBackExpertChecked ( RenderContext context, Rectangle rect, Color backColor1, Color backColor2, VisualOrientation orientation, GraphicsPath path, IDisposable memento ) : IDisposable

Draw a background for an expert style button that is checked.

DrawBackExpertCheckedTracking ( RenderContext context, Rectangle rect, Color backColor1, Color backColor2, VisualOrientation orientation, GraphicsPath path, IDisposable memento ) : IDisposable

Draw a background for an expert style button that is checked and tracking.

DrawBackExpertPressed ( RenderContext context, Rectangle rect, Color backColor1, Color backColor2, VisualOrientation orientation, GraphicsPath path, IDisposable memento ) : IDisposable

Draw a background for an expert style button with pressed effect.

DrawBackExpertSquareHighlight ( RenderContext context, Rectangle rect, Color backColor1, Color backColor2, VisualOrientation orientation, GraphicsPath path, IDisposable memento, bool light ) : IDisposable

Draw a background for an expert style button has a square inside with highlight.

DrawBackExpertTracking ( RenderContext context, Rectangle rect, Color backColor1, Color backColor2, VisualOrientation orientation, GraphicsPath path, IDisposable memento ) : IDisposable

Draw a background for an expert style button with tracking effect.

비공개 메소드들

메소드 설명
AngleFromOrientation ( VisualOrientation orientation ) : float
CreateBorderPath ( Rectangle rect, float cut ) : GraphicsPath
DrawBackExpert ( Rectangle drawRect, Color color1, Color color2, VisualOrientation orientation, Graphics g, IDisposable memento, bool total, bool tracking ) : IDisposable
DrawBackSolid ( RectangleF drawRect, Color color1, Graphics g, IDisposable memento ) : IDisposable
RenderExpertHelpers ( ) : System

메소드 상세

DrawBackExpertChecked() 공개 정적인 메소드

Draw a background for an expert style button that is checked.
public static DrawBackExpertChecked ( RenderContext context, Rectangle rect, Color backColor1, Color backColor2, VisualOrientation orientation, GraphicsPath path, IDisposable memento ) : IDisposable
context RenderContext Rendering context.
rect System.Drawing.Rectangle Rectangle to draw.
backColor1 Color First color.
backColor2 Color Second color.
orientation VisualOrientation Drawing orientation.
path System.Drawing.Drawing2D.GraphicsPath Clipping path.
memento IDisposable Cache used for drawing.
리턴 IDisposable

DrawBackExpertCheckedTracking() 공개 정적인 메소드

Draw a background for an expert style button that is checked and tracking.
public static DrawBackExpertCheckedTracking ( RenderContext context, Rectangle rect, Color backColor1, Color backColor2, VisualOrientation orientation, GraphicsPath path, IDisposable memento ) : IDisposable
context RenderContext Rendering context.
rect System.Drawing.Rectangle Rectangle to draw.
backColor1 Color First color.
backColor2 Color Second color.
orientation VisualOrientation Drawing orientation.
path System.Drawing.Drawing2D.GraphicsPath Clipping path.
memento IDisposable Cache used for drawing.
리턴 IDisposable

DrawBackExpertPressed() 공개 정적인 메소드

Draw a background for an expert style button with pressed effect.
public static DrawBackExpertPressed ( RenderContext context, Rectangle rect, Color backColor1, Color backColor2, VisualOrientation orientation, GraphicsPath path, IDisposable memento ) : IDisposable
context RenderContext Rendering context.
rect System.Drawing.Rectangle Rectangle to draw.
backColor1 Color First color.
backColor2 Color Second color.
orientation VisualOrientation Drawing orientation.
path System.Drawing.Drawing2D.GraphicsPath Clipping path.
memento IDisposable Cache used for drawing.
리턴 IDisposable

DrawBackExpertSquareHighlight() 공개 정적인 메소드

Draw a background for an expert style button has a square inside with highlight.
public static DrawBackExpertSquareHighlight ( RenderContext context, Rectangle rect, Color backColor1, Color backColor2, VisualOrientation orientation, GraphicsPath path, IDisposable memento, bool light ) : IDisposable
context RenderContext Rendering context.
rect System.Drawing.Rectangle Rectangle to draw.
backColor1 Color First color.
backColor2 Color Second color.
orientation VisualOrientation Drawing orientation.
path System.Drawing.Drawing2D.GraphicsPath Clipping path.
memento IDisposable Cache used for drawing.
light bool Use the 'light' variation.
리턴 IDisposable

DrawBackExpertTracking() 공개 정적인 메소드

Draw a background for an expert style button with tracking effect.
public static DrawBackExpertTracking ( RenderContext context, Rectangle rect, Color backColor1, Color backColor2, VisualOrientation orientation, GraphicsPath path, IDisposable memento ) : IDisposable
context RenderContext Rendering context.
rect System.Drawing.Rectangle Rectangle to draw.
backColor1 Color First color.
backColor2 Color Second color.
orientation VisualOrientation Drawing orientation.
path System.Drawing.Drawing2D.GraphicsPath Clipping path.
memento IDisposable Cache used for drawing.
리턴 IDisposable