Interface IPALCanvas
Inherited Members
System.IDisposable.Dispose()
Assembly: Azos.dll
public interface IPALCanvas : IDisposable
Properties
Declaration
InterpolationMode Interpolation { get; set; }
Property Value
Methods
Declaration
Parameters
| Type |
Name |
Description |
| System.Drawing.Color |
color |
|
Declaration
IPALCanvasFont CreateFont(string name, float size, FontStyling style, MeasureUnit unit)
Parameters
Returns
Declaration
IPALCanvasPen CreatePen(Color color, float width, PenDashStyle style)
Parameters
| Type |
Name |
Description |
| System.Drawing.Color |
color |
|
| System.Single |
width |
|
| PenDashStyle |
style |
|
Returns
Declaration
IPALCanvasBrush CreateSolidBrush(Color color)
Parameters
| Type |
Name |
Description |
| System.Drawing.Color |
color |
|
Returns
Declaration
void DrawEllipse(IPALCanvasPen pen, Rectangle rect)
Parameters
| Type |
Name |
Description |
| IPALCanvasPen |
pen |
|
| System.Drawing.Rectangle |
rect |
|
Declaration
void DrawEllipse(IPALCanvasPen pen, RectangleF rect)
Parameters
| Type |
Name |
Description |
| IPALCanvasPen |
pen |
|
| System.Drawing.RectangleF |
rect |
|
Declaration
void DrawImage(IPALImage image, Rectangle rect)
Parameters
| Type |
Name |
Description |
| IPALImage |
image |
|
| System.Drawing.Rectangle |
rect |
|
Declaration
void DrawImage(IPALImage image, Rectangle src, Rectangle dest)
Parameters
| Type |
Name |
Description |
| IPALImage |
image |
|
| System.Drawing.Rectangle |
src |
|
| System.Drawing.Rectangle |
dest |
|
Declaration
void DrawImage(IPALImage image, RectangleF rect)
Parameters
| Type |
Name |
Description |
| IPALImage |
image |
|
| System.Drawing.RectangleF |
rect |
|
Declaration
void DrawImage(IPALImage image, RectangleF src, RectangleF dest)
Parameters
| Type |
Name |
Description |
| IPALImage |
image |
|
| System.Drawing.RectangleF |
src |
|
| System.Drawing.RectangleF |
dest |
|
Declaration
void DrawImageUnscaled(IPALImage image, Point p)
Parameters
| Type |
Name |
Description |
| IPALImage |
image |
|
| System.Drawing.Point |
p |
|
Declaration
void DrawImageUnscaled(IPALImage image, PointF p)
Parameters
| Type |
Name |
Description |
| IPALImage |
image |
|
| System.Drawing.PointF |
p |
|
Declaration
void DrawLine(IPALCanvasPen pen, Point p1, Point p2)
Parameters
| Type |
Name |
Description |
| IPALCanvasPen |
pen |
|
| System.Drawing.Point |
p1 |
|
| System.Drawing.Point |
p2 |
|
Declaration
void DrawLine(IPALCanvasPen pen, PointF p1, PointF p2)
Parameters
| Type |
Name |
Description |
| IPALCanvasPen |
pen |
|
| System.Drawing.PointF |
p1 |
|
| System.Drawing.PointF |
p2 |
|
Declaration
void DrawRectangle(IPALCanvasPen pen, Rectangle rect)
Parameters
| Type |
Name |
Description |
| IPALCanvasPen |
pen |
|
| System.Drawing.Rectangle |
rect |
|
Declaration
void DrawRectangle(IPALCanvasPen pen, RectangleF rect)
Parameters
| Type |
Name |
Description |
| IPALCanvasPen |
pen |
|
| System.Drawing.RectangleF |
rect |
|
Declaration
void DrawString(IPALCanvasFont font, IPALCanvasBrush brush, string text, PointF p)
Parameters
Declaration
void FillRectangle(IPALCanvasBrush brush, Rectangle rect)
Parameters
Declaration
void FillRectangle(IPALCanvasBrush brush, RectangleF rect)
Parameters
Declaration
SizeF MeasureString(IPALCanvasFont font, string text, SizeF? bounds)
Parameters
| Type |
Name |
Description |
| IPALCanvasFont |
font |
|
| System.String |
text |
|
| System.Nullable<System.Drawing.SizeF> |
bounds |
|
Returns
| Type |
Description |
| System.Drawing.SizeF |
|
Extension Methods