ShapeFactory
Class
Shape factory.
Definition
Namespace:Telerik.Windows.Controls.Diagrams
Assembly:Telerik.Windows.Controls.Diagrams.dll
Syntax:
C#
public static class ShapeFactory
Inheritance: objectShapeFactory
Properties
ArrowGeometries
Dictionary<ArrowShapeType, Geometry>
Gets the arrow geometries.
C#
public static Dictionary<ArrowShapeType, Geometry> ArrowGeometries { get; }
Remarks:
See also the example in the CommonGeometries.
CommonGeometries
Dictionary<CommonShapeType, Geometry>
Gets the common geometries.
C#
public static Dictionary<CommonShapeType, Geometry> CommonGeometries { get; }
FlowchartGeometries
Dictionary<FlowChartShapeType, Geometry>
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 CreateRectangle(Rect rect)
GetShapeGeometry(ArrowShapeType)
Geometry
Gets a geometry of a specified arrow shape type.
C#
public static Geometry GetShapeGeometry(ArrowShapeType shapeType)
Geometry
Gets a geometry of a specified common shape type.
C#
public static Geometry GetShapeGeometry(CommonShapeType shapeType)
Geometry
Gets a geometry of a specified flow chart shape type.
C#
public static Geometry GetShapeGeometry(FlowChartShapeType shapeType)
Geometry