menu

MAUI Toolkit

  • User Guide
  • Demos
  • Support
Class PyramidSegment - MAUI-ToolKit API Reference | Syncfusion

    Show / Hide Table of Contents

    Class PyramidSegment

    Represents a segment of the SfPyramidChart, responsible for rendering and customizing the appearance of individual pyramid segments.

    Inheritance
    System.Object
    ChartSegment
    PyramidSegment
    Implements
    System.ComponentModel.INotifyPropertyChanged
    Inherited Members
    ChartSegment.Fill
    ChartSegment.Index
    ChartSegment.Item
    ChartSegment.Opacity
    ChartSegment.Series
    ChartSegment.Stroke
    ChartSegment.StrokeDashArray
    ChartSegment.StrokeWidth
    Namespace: Syncfusion.Maui.Toolkit.Charts
    Assembly: Syncfusion.Maui.Toolkit.dll
    Syntax
    public class PyramidSegment : ChartSegment, INotifyPropertyChanged, IPyramidLabels

    Constructors

    PyramidSegment()

    Declaration
    public PyramidSegment()

    Properties

    Points

    Represents the draw points of the pyramid segments.

    Declaration
    public Point[] Points { get; }
    Property Value
    Type
    Microsoft.Maui.Graphics.Point[]
    Remarks

    Pyramid segments are often drawn with four points, which are listed below.

    Points[0] : Top Left Points[1] : Top Right Points[2] : Bottom Right Points[3] : Bottom Left

    Methods

    Draw(ICanvas)

    Draws a segment for the specified chart series or charts.

    Declaration
    protected override void Draw(ICanvas canvas)
    Parameters
    Type Name Description
    Microsoft.Maui.Graphics.ICanvas canvas
    Overrides
    ChartSegment.Draw(ICanvas)

    OnLayout()

    Calculates the required values for rendering the chart segment.

    Declaration
    protected override void OnLayout()
    Overrides
    ChartSegment.OnLayout()

    Implements

    System.ComponentModel.INotifyPropertyChanged
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved