Struct ChartSector
A ring segment, or a pie wedge when InnerRadius is zero. Positions and radii are percentages
of the plot area; angles are in degrees, clockwise from 12 o'clock.
public readonly struct ChartSector : IEquatable<ChartSector>
- Implements
- Inherited Members
Constructors
ChartSector(double, double, double, double, double, double)
A ring segment, or a pie wedge when InnerRadius is zero. Positions and radii are percentages
of the plot area; angles are in degrees, clockwise from 12 o'clock.
public ChartSector(double CenterX, double CenterY, double InnerRadius, double OuterRadius, double StartAngle, double EndAngle)
Parameters
CenterXdoubleCenterYdoubleInnerRadiusdoubleOuterRadiusdoubleStartAngledoubleEndAngledouble
Properties
CenterX
public double CenterX { get; init; }
Property Value
CenterY
public double CenterY { get; init; }
Property Value
EndAngle
public double EndAngle { get; init; }
Property Value
InnerRadius
public double InnerRadius { get; init; }
Property Value
OuterRadius
public double OuterRadius { get; init; }
Property Value
StartAngle
public double StartAngle { get; init; }
Property Value
Methods
Deconstruct(out double, out double, out double, out double, out double, out double)
public void Deconstruct(out double CenterX, out double CenterY, out double InnerRadius, out double OuterRadius, out double StartAngle, out double EndAngle)
Parameters
CenterXdoubleCenterYdoubleInnerRadiusdoubleOuterRadiusdoubleStartAngledoubleEndAngledouble
Equals(object)
public override bool Equals(object obj)
Parameters
objobject
Returns
Equals(ChartSector)
public bool Equals(ChartSector other)
Parameters
otherChartSector
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(ChartSector, ChartSector)
public static bool operator ==(ChartSector left, ChartSector right)
Parameters
leftChartSectorrightChartSector
Returns
operator !=(ChartSector, ChartSector)
public static bool operator !=(ChartSector left, ChartSector right)
Parameters
leftChartSectorrightChartSector