New to Telerik UI for WPF? Download free 30-day trial

Predefined Shape Geometries

The Telerik Diagramming Framework provides three types of predefined shape geometries - ArrowShapes, CommonShapes and FlowChartShapes. For each of these types the framework exposes xaml markup extensions that can be applied at the RadDiagramShape.Geometry property as a shortcut way of creating a shape.

This article contains a list with the available geometries and shows how to set a geometry.

Create a geometry in code behind

Geometry arrowGeometry = ShapeFactory.GetShapeGeometry(ArrowShapeType.Arrow1); 
diagramShape.Geometry = arrowGeometry; 

ArrowShapes

Arrow1 Rad Diagram Features Shapes Arrow 1

<telerik:RadDiagramShape Geometry="{telerik:ArrowShape ShapeType=Arrow1}" /> 

Arrow2 Rad Diagram Features Shapes Arrow 2

<telerik:RadDiagramShape Geometry="{telerik:ArrowShape ShapeType=Arrow2}" /> 

Arrow3 Rad Diagram Features Shapes Arrow 3

<telerik:RadDiagramShape Geometry="{telerik:ArrowShape ShapeType=Arrow3}" /> 

Arrow4 Rad Diagram Features Shapes Arrow 4

<telerik:RadDiagramShape Geometry="{telerik:ArrowShape ShapeType=Arrow4}" />   

Arrow5 Rad Diagram Features Shapes Arrow 5

<telerik:RadDiagramShape Geometry="{telerik:ArrowShape ShapeType=Arrow5}"/> 

Arrow6 Rad Diagram Features Shapes Arrow 6

<telerik:RadDiagramShape Geometry="{telerik:ArrowShape ShapeType=Arrow6}" /> 

Arrow7 Rad Diagram Features Shapes Arrow 7

<telerik:RadDiagramShape Geometry="{telerik:ArrowShape ShapeType=Arrow7}"/> 

Arrow8 Rad Diagram Features Shapes Arrow 8

<telerik:RadDiagramShape Geometry="{telerik:ArrowShape ShapeType=Arrow8}"/>                                        

DoubleArrow1
Rad Diagram Features Shapes Double Arrow 1

<telerik:RadDiagramShape Geometry="{telerik:ArrowShape ShapeType=DoubleArrow1}" />                                         

DoubleArrow2 Rad Diagram Features Shapes Double Arrow 2

<telerik:RadDiagramShape Geometry="{telerik:ArrowShape ShapeType=DoubleArrow2}" />                                         

DoubleArrow3 Rad Diagram Features Shapes Double Arrow 3

<telerik:RadDiagramShape Geometry="{telerik:ArrowShape ShapeType=DoubleArrow3}" /> 

DoubleArrow4 Rad Diagram Features Shapes Double Arrow 4

<telerik:RadDiagramShape Geometry="{telerik:ArrowShape ShapeType=DoubleArrow4}" /> 

DoubleArrow5 Rad Diagram Features Shapes Double Arrow 5

<telerik:RadDiagramShape Geometry="{telerik:ArrowShape ShapeType=DoubleArrow5}" /> 

CommonShapes

CloudShape Rad Diagram Features Shapes Cloud Shape

<telerik:RadDiagramShape Geometry="{telerik:CommonShape ShapeType=CloudShape}" />                  

Cross2Shape Rad Diagram Features Shapes Cross 2 Shape

<telerik:RadDiagramShape Geometry="{telerik:CommonShape ShapeType=Cross2Shape}"/> 

CrossShape Rad Diagram Features Shapes Cross Shape

<telerik:RadDiagramShape Geometry="{telerik:CommonShape ShapeType=CrossShape}" />                  

EllipseShape Rad Diagram Features Shapes Ellipse Shape

<telerik:RadDiagramShape Geometry="{telerik:CommonShape ShapeType=EllipseShape}" />                

HexagonShape Rad Diagram Features Shapes Hexagon Shape

<telerik:RadDiagramShape Geometry="{telerik:CommonShape ShapeType=HexagonShape}"/>                                         

OctagonShape Rad Diagram Features Shapes Octagon Shape

<telerik:RadDiagramShape Geometry="{telerik:CommonShape ShapeType=OctagonShape}" /> 

PentagonShape Rad Diagram Features Shapes Pentagon Shape

<telerik:RadDiagramShape Geometry="{telerik:CommonShape ShapeType=PentagonShape}" /> 

RectangleShape Rad Diagram Features Shapes Rectangle Shape

<telerik:RadDiagramShape Geometry="{telerik:CommonShape ShapeType=RectangleShape}"/>                                           

RightTriangleShape Rad Diagram Features Shapes Right Triangle Shape

<telerik:RadDiagramShape Geometry="{telerik:CommonShape ShapeType=RightTriangleShape}" />                                          

RoundedRectangleShape Rad Diagram Features Shapes Rounded Rectangle Shape

<telerik:RadDiagramShape Geometry="{telerik:CommonShape ShapeType=RoundedRectangleShape}" />                                           

Star5Shape Rad Diagram Features Shapes Star 5 Shape

<telerik:RadDiagramShape Geometry="{telerik:CommonShape ShapeType=Star5Shape}"/>                   

Star6Shape Rad Diagram Features Shapes Star 6 Shape

<telerik:RadDiagramShape Geometry="{telerik:CommonShape ShapeType=Star6Shape}" /> 

Star7Shape Rad Diagram Features Shapes Star 7 Shape

<telerik:RadDiagramShape Geometry="{telerik:CommonShape ShapeType=Star7Shape}" /> 

TriangleShape Rad Diagram Features Shapes Triangle Shape

<telerik:RadDiagramShape Geometry="{telerik:CommonShape ShapeType=TriangleShape}"/>  

FlowChartShapes

BeginLoopShape Rad Diagram Features Shapes Begin Loop Shape

<telerik:RadDiagramShape Geometry="{telerik:FlowChartShape ShapeType=BeginLoopShape}" /> 

CardShape Rad Diagram Features Shapes Card Shape

<telerik:RadDiagramShape Geometry="{telerik:FlowChartShape ShapeType=CardShape}"/> 

CollateShape Rad Diagram Features Shapes Collate Shape

<telerik:RadDiagramShape Geometry="{telerik:FlowChartShape ShapeType=CollateShape}" />                                     

CreateRequestShape Rad Diagram Features Shapes Create Request Shape

<telerik:RadDiagramShape Geometry="{telerik:FlowChartShape ShapeType=CreateRequestShape}" /> 

Database1Shape Rad Diagram Features Shapes Database 1 Shape

<telerik:RadDiagramShape Geometry="{telerik:FlowChartShape ShapeType=Database1Shape}"/>                

Database2Shape Rad Diagram Features Shapes Database 2 Shape

<telerik:RadDiagramShape Geometry="{telerik:FlowChartShape ShapeType=Database2Shape}" />                   

Database3Shape Rad Diagram Features Shapes Database 3 Shape

<telerik:RadDiagramShape Geometry="{telerik:FlowChartShape ShapeType=Database3Shape}"/> 

DataShape Rad Diagram Features Shapes Data Shape

<telerik:RadDiagramShape Geometry="{telerik:FlowChartShape ShapeType=DataShape}" /> 

DataStoreShape Rad Diagram Features Shapes Data Store Shape

<telerik:RadDiagramShape Geometry="{telerik:FlowChartShape ShapeType=DataStoreShape}" /> 

DecisionShape Rad Diagram Features Shapes Decision Shape

<telerik:RadDiagramShape Geometry="{telerik:FlowChartShape ShapeType=DecisionShape}"/> 

DelayShape Rad Diagram Features Shapes Delay Shape

<telerik:RadDiagramShape Geometry="{telerik:FlowChartShape ShapeType=DelayShape}" />                                           

DevidedProcessShape Rad Diagram Features Shapes Devided Process Shape

<telerik:RadDiagramShape Geometry="{telerik:FlowChartShape ShapeType=DevidedProcessShape}" /> 

DirectDataShape Rad Diagram Features Shapes Direct Data Shape

<telerik:RadDiagramShape Geometry="{telerik:FlowChartShape ShapeType=DirectDataShape}"/> 

DisplayShape Rad Diagram Features Shapes Display Shape

<telerik:RadDiagramShape Geometry="{telerik:FlowChartShape ShapeType=DisplayShape}" />                 

DocumentShape Rad Diagram Features Shapes Document Shape

<telerik:RadDiagramShape Geometry="{telerik:FlowChartShape ShapeType=DocumentShape}" />                

DuplicatingShape Rad Diagram Features Shapes Duplicating Shape

<telerik:RadDiagramShape Geometry="{telerik:FlowChartShape ShapeType=DuplicatingShape}"/>                  

ExternalDataShape Rad Diagram Features Shapes External Data Shape

<telerik:RadDiagramShape Geometry="{telerik:FlowChartShape ShapeType=ExternalDataShape}" /> 

FeedbackShape Rad Diagram Features Shapes Feedback Shape

<telerik:RadDiagramShape Geometry="{telerik:FlowChartShape ShapeType=FeedbackShape}" /> 

FramedRectangleShape Rad Diagram Features Shapes Framed Rectangle Shape

<telerik:RadDiagramShape Geometry="{telerik:FlowChartShape ShapeType=FramedRectangleShape}"/> 

InternalStorageShape Rad Diagram Features Shapes Internal Storage Shape

<telerik:RadDiagramShape Geometry="{telerik:FlowChartShape ShapeType=InternalStorageShape}" /> 

LinedDocumentShape Rad Diagram Features Shapes Lined Document Shape

<telerik:RadDiagramShape Geometry="{telerik:FlowChartShape ShapeType=LinedDocumentShape}" /> 

LoopLimitShape Rad Diagram Features Shapes Loop Limit Shape

<telerik:RadDiagramShape Geometry="{telerik:FlowChartShape ShapeType=LoopLimitShape}"/>                

ManualInputShape Rad Diagram Features Shapes Manual Input Shape

<telerik:RadDiagramShape Geometry="{telerik:FlowChartShape ShapeType=ManualInputShape}" /> 

ManualOperationShape Rad Diagram Features Shapes Manual Operation Shape

<telerik:RadDiagramShape Geometry="{telerik:FlowChartShape ShapeType=ManualOperationShape}" /> 

MessageFromUserShape Rad Diagram Features Shapes Message From User Shape

<telerik:RadDiagramShape Geometry="{telerik:FlowChartShape ShapeType=MessageFromUserShape}"/> 

MessageToUserShape Rad Diagram Features Shapes Message To User Shape

<telerik:RadDiagramShape Geometry="{telerik:FlowChartShape ShapeType=MessageToUserShape}" /> 

MicroformProcessingShape Rad Diagram Features Shapes Microform Processing Shape

<telerik:RadDiagramShape Geometry="{telerik:FlowChartShape ShapeType=MicroformProcessingShape}" /> 

MicroformRecordingShape Rad Diagram Features Shapes Microform Recording Shape

<telerik:RadDiagramShape Geometry="{telerik:FlowChartShape ShapeType=MicroformRecordingShape}"/> 

MultipleDocumentShape Rad Diagram Features Shapes Multiple Document Shape

<telerik:RadDiagramShape Geometry="{telerik:FlowChartShape ShapeType=MultipleDocumentShape}" /> 

OffPageConnectionShape Rad Diagram Features Shapes Off Page Connection Shape

<telerik:RadDiagramShape Geometry="{telerik:FlowChartShape ShapeType=OffPageConnectionShape}" /> 

OffPageLinkShape Rad Diagram Features Shapes Off Page Link Shape

<telerik:RadDiagramShape Geometry="{telerik:FlowChartShape ShapeType=OffPageLinkShape}"/> 

OffPageReflectionShape Rad Diagram Features Shapes Off Page Reflection Shape

<telerik:RadDiagramShape Geometry="{telerik:FlowChartShape ShapeType=OffPageReflectionShape}" /> 

OrShape Rad Diagram Features Shapes Or Shape

<telerik:RadDiagramShape Geometry="{telerik:FlowChartShape ShapeType=OrShape}" /> 

PaperTapeShape Rad Diagram Features Shapes Paper Tape Shape

<telerik:RadDiagramShape Geometry="{telerik:FlowChartShape ShapeType=PaperTapeShape}"/> 

PredefinedShape Rad Diagram Features Shapes Predefined Shape

<telerik:RadDiagramShape Geometry="{telerik:FlowChartShape ShapeType=PredefinedShape}"  /> 

PreparationShape Rad Diagram Features Shapes Preparation Shape

<telerik:RadDiagramShape Geometry="{telerik:FlowChartShape ShapeType=PreparationShape}" /> 

PrimitiveFromCallShape Rad Diagram Features Shapes Primitive From Call Shape

<telerik:RadDiagramShape Geometry="{telerik:FlowChartShape ShapeType=PrimitiveFromCallShape}"/> 

PrimitiveToCallShape Rad Diagram Features Shapes Primitive To Call Shape

<telerik:RadDiagramShape Geometry="{telerik:FlowChartShape ShapeType=PrimitiveToCallShape}"  /> 

SequentialDataShape Rad Diagram Features Shapes Sequential Data Shape

<telerik:RadDiagramShape Geometry="{telerik:FlowChartShape ShapeType=SequentialDataShape}" />                          

SortShape Rad Diagram Features Shapes Sort Shape

<telerik:RadDiagramShape Geometry="{telerik:FlowChartShape ShapeType=SortShape}"/> 

StartShape Rad Diagram Features Shapes Start Shape

<telerik:RadDiagramShape Geometry="{telerik:FlowChartShape ShapeType=StartShape}"  /> 

StoredDataShape Rad Diagram Features Shapes Stored Data Shape

<telerik:RadDiagramShape Geometry="{telerik:FlowChartShape ShapeType=StoredDataShape}" /> 

SummingJunctionShape Rad Diagram Features Shapes Summing Junction Shape

<telerik:RadDiagramShape Geometry="{telerik:FlowChartShape ShapeType=SummingJunctionShape}"/> 

TerminatorShape Rad Diagram Features Shapes Terminator Shape

<telerik:RadDiagramShape Geometry="{telerik:FlowChartShape ShapeType=TerminatorShape}"  /> 

TransmittalTapeShape Rad Diagram Features Shapes Transmittal Tape Shape

<telerik:RadDiagramShape Geometry="{telerik:FlowChartShape ShapeType=TransmittalTapeShape}" /> 

See Also

In this article