[]
        
(Showing Draft Content)

C1.Blazor.Rendering.IRenderingEngine

IRenderingEngine Interface

Namespace: C1.Blazor.Rendering
Assembly: C1.Blazor.Rendering.dll
Syntax
public interface IRenderingEngine

Methods

Name Description
BeginDraw(bool, object, C1Size)

Begin draw.

DrawDonutSegment(double, double, double, double, double, double)

Draws donut segment at specified point.

DrawEllipse(double, double, double, double)

Draw ellipse with currect stroke and fill.

DrawImage(object, double, double, double, double)

Draw image using special source.

DrawLine(double, double, double, double)

Draw line between two points using current stroke attributes.

DrawLines(double[], double[])

Draw lines using specified coordinates.

DrawPieSegment(double, double, double, double, double)

Draws pie segment at specified point.

DrawPolygon(double[], double[])

Draw polygon with currect stroke and fill.

DrawRect(double, double, double, double)

Draw rectangle with currect stroke and fill.

DrawString(string, C1Point)

Draw string at specified position.

DrawString(string, C1Rect, C1TextWrapping)

Draw string at specified area.

DrawStringRotated(string, C1Point, C1Point, double)

Draw rotated string at specified position.

EndDraw()

End draw.

MeasureString(string)

Measures size of string.

MeasureString(string, C1Size)

Measures size of string in layout area.

SetCanvas(object)

Set the canvas object surface to render.

SetClipRect(C1Rect?)

Sets clip rectangle.

SetFill(object)

Sets the fill brush.

SetFont(object)

Sets the font.

SetOpacity(object, double)

Changes the brush opacity.

SetStroke(object)

Sets the current stroke brush.

SetStrokePattern(double[])

Sets the stroke pattern.

SetStrokeThickness(double)

Sets the stroke thickness.

Unload()

Unload objects.

UpdateSize(C1Size)

Update the canvas size.