ClassShapeFactory
Shape factory.
Definition
Namespace:Telerik.Windows.Controls.Diagrams
Assembly:Telerik.Windows.Controls.Diagrams.dll
Syntax:
public static class ShapeFactory
Inheritance: objectShapeFactory
Properties
ArrowGeometries
Gets the arrow geometries.
Declaration
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
public static Dictionary<CommonShapeType, Geometry> CommonGeometries { get; }
Property Value
Dictionary<CommonShapeType, Geometry>
FlowchartGeometries
Gets the flowchart geometries.
Declaration
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
public static RadDiagramShape CreateCircle(double radiusX, double radiusY, Point center)
Parameters
radiusX
radiusY
center
Point
Returns
CreateRectangle(Rect)
Declaration
public static RadDiagramShape CreateRectangle(Rect rect)
Parameters
rect
Rect
Returns
GetShapeGeometry(ArrowShapeType)
Gets a geometry of a specified arrow shape type.
Declaration
public static Geometry GetShapeGeometry(ArrowShapeType shapeType)
Parameters
shapeType
Returns
Geometry
GetShapeGeometry(CommonShapeType)
Gets a geometry of a specified common shape type.
Declaration
public static Geometry GetShapeGeometry(CommonShapeType shapeType)
Parameters
shapeType
Returns
Geometry
GetShapeGeometry(FlowChartShapeType)
Gets a geometry of a specified flow chart shape type.
Declaration
public static Geometry GetShapeGeometry(FlowChartShapeType shapeType)
Parameters
shapeType
Returns
Geometry