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