MultiPath

RadMultiPath allows you to combine several PathGeometry objects into a single element. The MultiPath contains a collection of RadPathDefinition objects and each of them provides a Geometry property as well as the same styling properties as the RadPath.

Here is a an example of RadMultiPath definition:

<telerikPrimitives:RadMultiPath x:Name="multiPath"
                                Grid.Row="0"
                                HorizontalOptions="Center"
                                VerticalOptions="Center">
  <telerikPrimitives:RadPathDefinition Fill="#FF4285F4">
    <telerikCommon:RadPathGeometry>
      <telerikCommon:RadPathFigure>
        <telerikCommon:RadArcSegment Center="0.5, 0.5" SweepAngle="360" Size="0.9, 0.9" />
      </telerikCommon:RadPathFigure>
    </telerikCommon:RadPathGeometry>
  </telerikPrimitives:RadPathDefinition>
  <telerikPrimitives:RadPathDefinition Fill="#FFEA4335">
    <telerikCommon:RadPathGeometry>
      <telerikCommon:RadPathFigure>
        <telerikCommon:RadArcSegment Center="0.5, 0.5" SweepAngle="360" Size="0.6, 0.6" />
      </telerikCommon:RadPathFigure>
    </telerikCommon:RadPathGeometry>
  </telerikPrimitives:RadPathDefinition>
  <telerikPrimitives:RadPathDefinition Fill="#FFFBBC05">
    <telerikCommon:RadPathGeometry>
      <telerikCommon:RadPathFigure>
        <telerikCommon:RadArcSegment Center="0.5, 0.5" SweepAngle="360" Size="0.3, 0.3" />
      </telerikCommon:RadPathFigure>
    </telerikCommon:RadPathGeometry>
  </telerikPrimitives:RadPathDefinition>
</telerikPrimitives:RadMultiPath>

The image below shows the result:

RadMultiPath

See Also

In this article
Not finding the help you need? Improve this article