LEADTOOLS (Leadtools assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
Tension Property
See Also 
Leadtools Namespace > RasterCurve Class : Tension Property



Gets or sets a value that indicates how straight to make the curves that connect points.

Syntax

Visual Basic (Declaration) 
Public Property Tension As Double
Visual Basic (Usage)Copy Code
Dim instance As RasterCurve
Dim value As Double
 
instance.Tension = value
 
value = instance.Tension
C# 
public double Tension {get; set;}
C++/CLI 
public:
property double Tension {
   double get();
   void set (    double value);
}

Property Value

An System.Double value that indicates how straight to make the curves that connect points. Valid values are between 0.0 and 1.0.

Example

For an example, refer to RasterCurve.

Remarks

This value is used only when Type is RasterCurveType.Standard. Valid values are between 0.0 and 1.0, where 0.0 indicates straight lines, and 1.0 indicates lines with the highest curvature. A typical value for dTension is 0.5.

Requirements

Target Platforms: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only), Windows Phone 7

See Also