ClForms.Abstractions.Engine.IDrawingContext
Drawing context
public interface IDrawingContext: IPaintContext
| Name |
Type |
Description |
| Background |
IGraphicsDevice<Color> |
Gets IGraphicsDevice{Color} of background |
| Foreground |
IGraphicsDevice<Color> |
Gets IGraphicsDevice{Color} of text color |
| Chars |
IGraphicsDevice<char> |
Gets IGraphicsDevice{Color} of text |
| ContextBounds |
Rect |
Gets the rectangular drawing context area |
| ControlId |
long |
Gets the identifier of the component that represents current drawing context |
| Parent |
IDrawingContext |
Gets parent context reference |
| Syntax |
Description |
| Release(Color backgroundColor, Color foregroundColor, char @char) |
Prepare context for drawing |
| Release(Color backgroundColor, Color foregroundColor) |
Prepare context for drawing |
| Clone(long controlId) |
Creates a shallow copy of the IDrawingContext |