Xceed Toolkit Plus for WPF v5.0 Documentation
Xceed.Wpf.Toolkit Assembly / Xceed.Wpf.Toolkit.Chart Namespace / PieLayout Class / CreatePieSliceGeometry Method
Pie center point.
Pie radius.
Pie slice start angle.
Pie slice end angle.


In This Topic
    CreatePieSliceGeometry Method
    In This Topic
    Creates the Geometry for a pie slice.
    Syntax
    'Declaration
     
    Protected Overridable Function CreatePieSliceGeometry( _
       ByVal centerPoint As Point, _
       ByVal radius As Double, _
       ByVal startAngle As Double, _
       ByVal endAngle As Double _
    ) As Geometry
    'Usage
     
    Dim instance As PieLayout
    Dim centerPoint As Point
    Dim radius As Double
    Dim startAngle As Double
    Dim endAngle As Double
    Dim value As Geometry
     
    value = instance.CreatePieSliceGeometry(centerPoint, radius, startAngle, endAngle)
    protected virtual Geometry CreatePieSliceGeometry( 
       Point centerPoint,
       double radius,
       double startAngle,
       double endAngle
    )

    Parameters

    centerPoint
    Pie center point.
    radius
    Pie radius.
    startAngle
    Pie slice start angle.
    endAngle
    Pie slice end angle.

    Return Value

    The Geometry for a pie slice.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also