Class BaseSpline3D<TSplineControl3D>
This class serves as a base class for all 3D spline types.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Controls.Charting
Assembly: Telerik.Windows.Controls.Charting.dll
Syntax
public abstract class BaseSpline3D<TSplineControl3D> : BaseChartItemControl3D<TSplineControl3D>, ILogicalItem, IChartItem3D, IChartItem, IControl3D where TSplineControl3D : IModelControl3D, new()
Type Parameters
TSplineControl3D
The type of the 3D spline control. |
Constructors
BaseSpline3D()
Initializes a new instance of the BaseSpline3D class.
Declaration
protected BaseSpline3D()
Fields
IsFirstProperty
Identifies the IsFirst dependency property.
Declaration
public static readonly DependencyProperty IsFirstProperty
Field Value
System.Windows.DependencyProperty
|
IsLastProperty
Identifies the IsLast dependency property.
Declaration
public static readonly DependencyProperty IsLastProperty
Field Value
System.Windows.DependencyProperty
|
P0Property
Identifies the P0 dependency property.
Declaration
public static readonly DependencyProperty P0Property
Field Value
System.Windows.DependencyProperty
|
P1Property
Identifies the P1 dependency property.
Declaration
public static readonly DependencyProperty P1Property
Field Value
System.Windows.DependencyProperty
|
P2Property
Identifies the P2 dependency property.
Declaration
public static readonly DependencyProperty P2Property
Field Value
System.Windows.DependencyProperty
|
P3Property
Identifies the P3 dependency property.
Declaration
public static readonly DependencyProperty P3Property
Field Value
System.Windows.DependencyProperty
|
ThetaProperty
Identifies the Theta dependency property.
Declaration
public static readonly DependencyProperty ThetaProperty
Field Value
System.Windows.DependencyProperty
|
ThetaPropertyKey
Identifies the Theta dependency property.
Declaration
protected static readonly DependencyPropertyKey ThetaPropertyKey
Field Value
System.Windows.DependencyPropertyKey
|
WidthProperty
Identifies the Width dependency property.
Declaration
public static readonly DependencyProperty WidthProperty
Field Value
System.Windows.DependencyProperty
|
Properties
IsFirst
Gets or sets a value indicating whether this Spline segment is first.
Declaration
public bool IsFirst { get; protected set; }
Property Value
System.Boolean
|
IsLast
Gets or sets a value indicating whether this Spline segment is last.
Declaration
public bool IsLast { get; protected set; }
Property Value
System.Boolean
|
P0
Gets or sets the spline's first control point.
Declaration
public double P0 { get; protected set; }
Property Value
System.Double
The control point. |
P1
Gets or sets the spline's second control point.
Declaration
public double P1 { get; protected set; }
Property Value
System.Double
The control point. |
P2
Gets or sets the spline's third control point.
Declaration
public double P2 { get; protected set; }
Property Value
System.Double
The control point. |
P3
Gets or sets the spline's fourth control point.
Declaration
public double P3 { get; protected set; }
Property Value
System.Double
The control point. |
ShouldRenderChartSeriesItem
Gets a value indicating whether the current chart series item should be rendered.
Declaration
protected override bool ShouldRenderChartSeriesItem { get; }
Property Value
System.Boolean
|
Overrides
Theta
Gets or sets the tessellation (LoD) of the spline.
Declaration
public int Theta { get; protected set; }
Property Value
System.Int32
The theta. |
Width
Gets or sets the width of the spline.
Declaration
public double Width { get; protected set; }
Property Value
System.Double
The width. |
Methods
GenerateControlPoints(Int32, DataSeries)
Generates the 4 control points for the spline.
Declaration
protected virtual void GenerateControlPoints(int currentIndex, DataSeries dataSeries)
Parameters
System.Int32
currentIndex
|
DataSeries
dataSeries
|
OnDataPointChanged()
Called when data point has been changed.
Declaration
protected override void OnDataPointChanged()
Overrides
SetControlPoints(DataRange, DataRange, DataRange, DataRange)
Sets the control points.
Declaration
protected virtual void SetControlPoints(DataRange p0, DataRange p1, DataRange p2, DataRange p3)
Parameters
DataRange
p0
The first control point. |
DataRange
p1
The second control point. |
DataRange
p2
The third control point. |
DataRange
p3
The last control point. |
SetDepth()
SetLabelTransform()
Sets the LabelTransform property to correctly position the label.
Declaration
protected abstract void SetLabelTransform()