Class CubicCurveSegment
Represents a cubiccurvecegment takes in two control points for each point.To create a cubic Bezier, need to specify three sets of coordinates.
Inheritance
Namespace: Syncfusion.UI.Xaml.Diagram
Assembly: Syncfusion.SfDiagram.WPF.dll
Syntax
public class CubicCurveSegment : Object, ICubicCurveSegment, IConnectorSegment, INotifyPropertyChanged
Constructors
CubicCurveSegment()
Initializes a new instance of the CubicCurveSegment class.
Declaration
public CubicCurveSegment()
Properties
BezierSmoothness
Gets or sets BezierSmoothness of the CubicCurveSegment.
Declaration
public BezierSmoothness BezierSmoothness { get; set; }
Property Value
Type |
---|
BezierSmoothness |
Constraints
Gets or sets SegmentConstraints of the CubicCurveSegment to add or remove additional behavior.
Declaration
public SegmentConstraints Constraints { get; set; }
Property Value
Type |
---|
SegmentConstraints |
Editable
Gets or sets a value for Editable
Declaration
public Editable Editable { get; set; }
Property Value
Type |
---|
Editable |
Point1
Gets or sets a source control point of the cubiccurve segement.
Declaration
public Nullable<Point> Point1 { get; set; }
Property Value
Type |
---|
System.Nullable<System.Windows.Point> |
Point2
Gets or sets a target control point of the cubiccurve segement.
Declaration
public Nullable<Point> Point2 { get; set; }
Property Value
Type |
---|
System.Nullable<System.Windows.Point> |
Point3
Gets or sets a end control point of the cubiccurve segement.
Declaration
public Nullable<Point> Point3 { get; set; }
Property Value
Type |
---|
System.Nullable<System.Windows.Point> |
Vector1
Gets or sets the vector representation of Point1.
Declaration
public Nullable<Vector> Vector1 { get; set; }
Property Value
Type |
---|
System.Nullable<System.Windows.Vector> |
Vector2
Gets or sets the vector representation of Point2.
Declaration
public Nullable<Vector> Vector2 { get; set; }
Property Value
Type |
---|
System.Nullable<System.Windows.Vector> |
Methods
OnPropertyChanged(String)
Invoked whenever the effective value of any dependency property on this FrameworkElement has been updated. The specific dependency property that changed is reported in the arguments parameter. Overrides OnPropertyChanged(name).
Declaration
protected virtual void OnPropertyChanged(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name |
Events
PropertyChanged
Occurs when a property value changes.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type |
---|
System.ComponentModel.PropertyChangedEventHandler |