Class DLSGraphics
Summary description for DLSGraphics.
Inheritance
System.Object
DLSGraphics
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Syncfusion.DLS.Base.dll
Syntax
public class DLSGraphics : CustomGraphics
Constructors
DLSGraphics()
Declaration
DLSGraphics(Graphics)
Declaration
public DLSGraphics(Graphics graphics)
Parameters
Type |
Name |
Description |
System.Drawing.Graphics |
graphics |
|
Methods
Declaration
public virtual void DrawArcShape(ArcShape shape, LayoutedWidget ltWidget)
Parameters
DrawBackgroundImage(PageSetup, Image)
Declaration
public virtual void DrawBackgroundImage(PageSetup setup, Image image)
Parameters
Type |
Name |
Description |
PageSetup |
setup |
|
System.Drawing.Image |
image |
|
Declaration
public virtual void DrawBezierShape(BezierShape shape, LayoutedWidget ltWidget)
Parameters
DrawBorder(Border, PointF, PointF)
Declaration
protected virtual void DrawBorder(Border border, PointF start, PointF end)
Parameters
Type |
Name |
Description |
Border |
border |
|
System.Drawing.PointF |
start |
|
System.Drawing.PointF |
end |
|
Declaration
protected virtual void DrawBorders(Borders borders, LayoutedWidget ltWidget)
Parameters
DrawBounds(Color, RectangleF)
Declaration
protected virtual void DrawBounds(Color color, RectangleF rect)
Parameters
Type |
Name |
Description |
System.Drawing.Color |
color |
|
System.Drawing.RectangleF |
rect |
|
Draws canvas object. This method is called just before shapes drawing.
Declaration
public virtual void DrawCanvas(ICanvas canvas, LayoutedWidget ltWidget)
Parameters
Type |
Name |
Description |
ICanvas |
canvas |
Canvas object.
|
LayoutedWidget |
ltWidget |
Object representing area of the canvas in the document.
|
Declaration
protected virtual void DrawCellBorders(TableCell cell, LayoutedWidget ltWidget)
Parameters
Declaration
public virtual void DrawEllipseShape(EllipseShape shape, LayoutedWidget ltWidget)
Parameters
Declaration
public virtual void DrawImageShape(ImageShape shape, LayoutedWidget ltWidget)
Parameters
Declaration
public virtual void DrawLineShape(LineShape shape, LayoutedWidget ltWidget)
Parameters
Declaration
public virtual void DrawParagraph(Paragraph paragraph, LayoutedWidget ltWidget)
Parameters
Declaration
public virtual void DrawPathShape(PathShape shape, LayoutedWidget ltWidget)
Parameters
Declaration
public virtual void DrawPicture(Picture picture, LayoutedWidget ltWidget)
Parameters
Declaration
public virtual void DrawPieShape(PieShape shape, LayoutedWidget ltWidget)
Parameters
Declaration
public virtual void DrawPolygonShape(PolygonShape shape, LayoutedWidget ltWidget)
Parameters
Declaration
public virtual void DrawRectangleShape(RectangleShape shape, LayoutedWidget ltWidget)
Parameters
Declaration
public virtual void DrawTable(Table table, LayoutedWidget ltWidget)
Parameters
Declaration
public virtual void DrawTableCell(TableCell cell, LayoutedWidget ltWidget)
Parameters
Declaration
public virtual void DrawTableRow(TableRow row, LayoutedWidget ltWidget)
Parameters
DrawText(String, CharacterFormat, Brush, Single, Single, Single)
Declaration
protected virtual void DrawText(string text, CharacterFormat format, Brush brush, float x, float y, float fontSize)
Parameters
Type |
Name |
Description |
System.String |
text |
|
CharacterFormat |
format |
|
System.Drawing.Brush |
brush |
|
System.Single |
x |
|
System.Single |
y |
|
System.Single |
fontSize |
|
Declaration
public virtual void DrawTextRange(TextRange txtRange, LayoutedWidget ltWidget, string text)
Parameters
DrawTextShape(TextShape, LayoutedWidget)
Declaration
public virtual void DrawTextShape(TextShape txtShape, LayoutedWidget ltWidget)
Parameters
Declaration
public virtual float GetAscentTextRange(TextRange txtRange)
Parameters
Returns
MeasurePicture(Picture)
Declaration
public virtual SizeF MeasurePicture(Picture picture)
Parameters
Type |
Name |
Description |
Picture |
picture |
|
Returns
Type |
System.Drawing.SizeF |
Declaration
public virtual SizeF MeasureTextRange(TextRange txtRange, string text)
Parameters
Type |
Name |
Description |
TextRange |
txtRange |
|
System.String |
text |
|
Returns
Type |
System.Drawing.SizeF |
OffsetPoints(PointF[], PointF)
Makes offset of each point in the array by start point coordinates.
Declaration
protected PointF[] OffsetPoints(PointF[] points, PointF startPoint)
Parameters
Type |
Name |
Description |
System.Drawing.PointF[] |
points |
Array of points.
|
System.Drawing.PointF |
startPoint |
Start point.
|
Returns
Type |
Description |
System.Drawing.PointF[] |
Array of points with offset.
|