menu

MAUI Toolkit

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

    Show / Hide Table of Contents

    Class SplineSegment

    Represents a segment of the SplineSeries, which draws a smooth curve through the data points.

    Inheritance
    System.Object
    ChartSegment
    CartesianSegment
    SplineSegment
    Implements
    System.ComponentModel.INotifyPropertyChanged
    Inherited Members
    CartesianSegment.IsEmpty
    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 SplineSegment : CartesianSegment, INotifyPropertyChanged, IMarkerDependentSegment

    Constructors

    SplineSegment()

    Declaration
    public SplineSegment()

    Properties

    X1

    Gets the x-coordinate of the starting point of the spline segment.

    Declaration
    public float X1 { get; }
    Property Value
    Type
    System.Single

    X2

    Gets the x-coordinate of the ending point of the spline segment.

    Declaration
    public float X2 { get; }
    Property Value
    Type
    System.Single

    Y1

    Gets the y-coordinate of the starting point of the spline segment.

    Declaration
    public float Y1 { get; }
    Property Value
    Type
    System.Single

    Y2

    Gets the y-coordinate of the ending point of the spline segment.

    Declaration
    public float Y2 { get; }
    Property Value
    Type
    System.Single

    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