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.Serializer
Assembly: Syncfusion.SfDiagram.WPF.dll
Syntax
public class CubicCurveSegment : Object, ICubicCurveSegment, IConnectorSegment, INotifyPropertyChanged
Constructors
CubicCurveSegment()
Declaration
public CubicCurveSegment()
Properties
Attributes
Gets or sets the attributes value of CubicCurveSegment class.
Declaration
public Dictionary<string, object> Attributes { get; set; }
Property Value
Type |
---|
System.Collections.Generic.Dictionary<System.String, System.Object> |
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 the editable value of cubic cirve segments.
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 |