[]
Delegates drawing logic to wrapped instance. Used to extend existing canvas with additional logic, for example implement IReportDrawingCanvas.
public abstract class DrawingCanvasBase : IDrawingCanvas, IDisposable
| Name | Description |
|---|---|
| DrawingCanvasBase(IDrawingCanvas) |
| Name | Description |
|---|---|
| Canvas | |
| SmoothingMode | Specifies the rendering quality for lines, curves, and the edges of filled areas. |
| TextRenderingHint | Specifies the quality of text rendering. |
| Transform | Gets or sets the world transformation for this object |
| Name | Description |
|---|---|
| CreateHatchBrush(HatchStyleEx, Color, Color) | Initializes a new BrushEx using specified hatch pattern and colors. |
| CreateImage(ImageInfo) | Initializes a new instance of ImageEx. |
| CreateImage(ImageInfo, string) | Initializes a new instance of ImageEx and supplies a unique id for which the IDrawingCanvas can implement caching. |
| CreateLinearGradientBrush(PointF, PointF, Color, Color, BlendEx) | Initializes a new BrushEx linear gradient brush object. |
| CreateLinearGradientBrush(PointF, PointF, Color, Color, IEnumerable<GradientStopColor>) | Create linear gradient brush |
| CreatePen(Color) | Initializes a new instance of PenEx with the specified color and default width |
| CreatePen(Color, float) | Initializes a new instance of PenEx with the specified color and width |
| CreateRadialGradientBrush(PointF, float, float, Color, Color) | Creates new radial gradient BrushEx. |
| CreateSolidBrush(Color) | Initializes a new BrushEx solid brush object of specified color. |
| Dispose() | |
| DrawAndFillPath(PenEx, BrushEx, PathEx) | Fills the path supplied with brush, and strokes it with pen. If brush or pen is null, corresponding operation is omitted. |
| DrawEllipse(PenEx, RectangleF) | Draws an ellipse defined by a bounding RectangleF. |
| DrawImage(ImageEx, float, float, float, float, float) | Draws the specified Image object with specified size, at the specified location. |
| DrawLine(PenEx, PointF, PointF) | Draws the line between specified points. |
| DrawLines(PenEx, PointF[]) | Draws a series of line segments that connect an array of PointF structures. |
| DrawPolygon(PenEx, PointF[]) | Draws a polygon defined by an array of PointF structures |
| DrawRectangle(PenEx, RectangleF) | Draws a rectangle rectangle specified by a RectangleF structure. |
| DrawString(string, FontInfo, BrushEx, RectangleF, StringFormatEx) | Draws the specified text string at the specified location with the specified Brush and Font objects. using the specified layout rectangle and formatting attributes of the specified StringFormat object. |
| FillEllipse(BrushEx, RectangleF) | Fills the interior of an ellipse defined by a bounding rectangle specified by a RectangleF structure. |
| FillPolygon(BrushEx, PointF[]) | Fills the interior of a polygon defined by an array of points specified by PointF structures |
| FillRectangle(BrushEx, RectangleF) | Fills the interior of a rectangle specified by a RectangleF structure. |
| IntersectClip(PathEx) | Sets the clipping region of this Graphics object to the shape specified by a IDDPath structure. |
| IntersectClip(RectangleF) | Sets the clipping region of this Graphics object to the rectangle specified by a RectangleF structure. |
| OnDispose() | |
| PopState() | Restores the state of this IDrawingCanvas object to the previous saved state. |
| PrepareText(string) | |
| PushState() | Saves the current state on a stack. |
| TranslateColor(Color) |