C# Класс ComponentFactory.Krypton.Toolkit.RenderContext

Encapsulates context for view render operations.
Наследование: ViewContext
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
GetAlignedRectangle ( PaletteRectangleAlign align, Rectangle local ) : Rectangle

Calculate a rectangle in control coodinates that is aligned for gradient drawing.

RenderContext ( Control control, Control alignControl, Graphics graphics, Rectangle clipRect, IRenderer renderer ) : System

Initialize a new instance of the ViewContext class.

RenderContext ( Control control, Graphics graphics, Rectangle clipRect, IRenderer renderer ) : System

Initialize a new instance of the ViewContext class.

RenderContext ( ViewManager manager, Control control, Control alignControl, Graphics graphics, Rectangle clipRect, IRenderer renderer ) : System

Initialize a new instance of the ViewContext class.

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

GetAlignedRectangle() публичный Метод

Calculate a rectangle in control coodinates that is aligned for gradient drawing.
public GetAlignedRectangle ( PaletteRectangleAlign align, Rectangle local ) : Rectangle
align PaletteRectangleAlign How to align the gradient.
local System.Drawing.Rectangle Rectangle of the local element.
Результат System.Drawing.Rectangle

RenderContext() публичный Метод

Initialize a new instance of the ViewContext class.
public RenderContext ( Control control, Control alignControl, Graphics graphics, Rectangle clipRect, IRenderer renderer ) : System
control System.Windows.Forms.Control Control associated with rendering.
alignControl System.Windows.Forms.Control Control used to align elements.
graphics System.Drawing.Graphics Graphics instance for drawing.
clipRect System.Drawing.Rectangle Rectangle that needs rendering.
renderer IRenderer Rendering provider.
Результат System

RenderContext() публичный Метод

Initialize a new instance of the ViewContext class.
public RenderContext ( Control control, Graphics graphics, Rectangle clipRect, IRenderer renderer ) : System
control System.Windows.Forms.Control Control associated with rendering.
graphics System.Drawing.Graphics Graphics instance for drawing.
clipRect System.Drawing.Rectangle Rectangle that needs rendering.
renderer IRenderer Rendering provider.
Результат System

RenderContext() публичный Метод

Initialize a new instance of the ViewContext class.
public RenderContext ( ViewManager manager, Control control, Control alignControl, Graphics graphics, Rectangle clipRect, IRenderer renderer ) : System
manager ViewManager Reference to the view manager.
control System.Windows.Forms.Control Control associated with rendering.
alignControl System.Windows.Forms.Control Control used to align elements.
graphics System.Drawing.Graphics Graphics instance for drawing.
clipRect System.Drawing.Rectangle Rectangle that needs rendering.
renderer IRenderer Rendering provider.
Результат System