New to Telerik UI for WinFormsStart a free 30-day trial

Shape factory.

Definition

Namespace:Telerik.WinControls.UI.Diagrams

Assembly:Telerik.WinControls.RadDiagram.dll

Syntax:

C#
public static class ShapeFactory

Inheritance: objectShapeFactory

Properties

Gets the arrow geometries.

C#
public static Dictionary<ArrowShapeType, Geometry> ArrowGeometries { get; }
Remarks:

See also the example in the CommonGeometries.

Gets the common geometries.

C#
public static Dictionary<CommonShapeType, Geometry> CommonGeometries { get; }

Gets the flowchart geometries.

C#
public static Dictionary<FlowChartShapeType, Geometry> FlowchartGeometries { get; }
Remarks:

See also the example in the CommonGeometries.

Methods

C#
public static RadDiagramShape CreateCircle(double radiusX, double radiusY, Point center)
Parameters:radiusXdoubleradiusYdoublecenterPointReturns:

RadDiagramShape

C#
public static RadDiagramShape CreateRectangle(Rect rect)
Parameters:rectRectReturns:

RadDiagramShape