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
System.Object
CubicCurveSegment
Implements
System.ComponentModel.INotifyPropertyChanged
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Syncfusion.SfDiagram.WPF.dll
Syntax
public class CubicCurveSegment : ICubicCurveSegment, IConnectorSegment, INotifyPropertyChanged
Constructors
CubicCurveSegment()
Declaration
public CubicCurveSegment()
Properties
Attributes
Declaration
public Dictionary<string, object> Attributes { get; set; }
Property Value
Type |
Description |
System.Collections.Generic.Dictionary<System.String, System.Object> |
|
BezierSmoothness
Declaration
public BezierSmoothness BezierSmoothness { get; set; }
Property Value
Constraints
Gets or sets SegmentConstraints of the CubicCurveSegment to add or remove additional behavior.
Declaration
public SegmentConstraints Constraints { get; set; }
Property Value
Editable
Declaration
public Editable Editable { get; set; }
Property Value
Point1
Gets or sets a source control point of the cubiccurve segement.
Declaration
public Point? Point1 { get; set; }
Property Value
Type |
Description |
System.Nullable<System.Windows.Point> |
|
Point2
Gets or sets a target control point of the cubiccurve segement.
Declaration
public Point? Point2 { get; set; }
Property Value
Type |
Description |
System.Nullable<System.Windows.Point> |
|
Point3
Gets or sets a end control point of the cubiccurve segement.
Declaration
public Point? Point3 { get; set; }
Property Value
Type |
Description |
System.Nullable<System.Windows.Point> |
|
Vector1
Gets or sets the vector representation of Point1
Declaration
public Vector? Vector1 { get; set; }
Property Value
Type |
Description |
System.Nullable<System.Windows.Vector> |
|
Vector2
Gets or sets the vector representation of Point2
Declaration
public Vector? Vector2 { get; set; }
Property Value
Type |
Description |
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 |
Description |
System.ComponentModel.PropertyChangedEventHandler |
|
Implements
System.ComponentModel.INotifyPropertyChanged