Class
ShapeFactory

Shape factory.

Definition

Namespace:Telerik.Windows.Controls.Diagrams

Assembly:Telerik.Windows.Controls.Diagrams.dll

Syntax:

cs-api-definition
public static class ShapeFactory

Inheritance: objectShapeFactory

Properties

ArrowGeometries

Gets the arrow geometries.

Declaration

cs-api-definition
public static Dictionary<ArrowShapeType, Geometry> ArrowGeometries { get; }

Property Value

Dictionary<ArrowShapeType, Geometry>

Remarks

See also the example in the CommonGeometries.

CommonGeometries

Gets the common geometries.

Declaration

cs-api-definition
public static Dictionary<CommonShapeType, Geometry> CommonGeometries { get; }

Property Value

Dictionary<CommonShapeType, Geometry>

FlowchartGeometries

Gets the flowchart geometries.

Declaration

cs-api-definition
public static Dictionary<FlowChartShapeType, Geometry> FlowchartGeometries { get; }

Property Value

Dictionary<FlowChartShapeType, Geometry>

Remarks

See also the example in the CommonGeometries.

Methods

CreateCircle(double, double, Point)

Declaration

cs-api-definition
public static RadDiagramShape CreateCircle(double radiusX, double radiusY, Point center)

Parameters

radiusX

double

radiusY

double

center

Point

Returns

RadDiagramShape

CreateRectangle(Rect)

Declaration

cs-api-definition
public static RadDiagramShape CreateRectangle(Rect rect)

Parameters

rect

Rect

Returns

RadDiagramShape

GetShapeGeometry(ArrowShapeType)

Gets a geometry of a specified arrow shape type.

Declaration

cs-api-definition
public static Geometry GetShapeGeometry(ArrowShapeType shapeType)

Parameters

shapeType

ArrowShapeType

Returns

Geometry

GetShapeGeometry(CommonShapeType)

Gets a geometry of a specified common shape type.

Declaration

cs-api-definition
public static Geometry GetShapeGeometry(CommonShapeType shapeType)

Parameters

shapeType

CommonShapeType

Returns

Geometry

GetShapeGeometry(FlowChartShapeType)

Gets a geometry of a specified flow chart shape type.

Declaration

cs-api-definition
public static Geometry GetShapeGeometry(FlowChartShapeType shapeType)

Parameters

shapeType

FlowChartShapeType

Returns

Geometry