←Select platform

DefaultBezierPoint2 Property

Summary

The third point for the default cubic Bézier inertia function.

Syntax
C#
VB
C++
public LeadPointD DefaultBezierPoint2 { get; set; } 
Public Property DefaultBezierPoint2() As LeadPointD 
   Get 
   Set 
public:  
   property LeadPointD^ DefaultBezierPoint2 
   { 
      LeadPointD^ get() 
      void set(LeadPointD^ value) 
   } 

Property Value

A LeadPointD marking the third of four Bézier control points. The default value is (0.3, 1.0).

Remarks

DefaultCalculateInertia makes use of the values of DefaultBezierPoint1, DefaultBezierPoint2, DefaultDuration, and DefaultPower to return the new inertia scroll offset.

The Bézier function is defined by the four points (0,0), DefaultBezierPoint1, DefaultBezierPoint2, (1,1) and defines the percent of total distance for the inertia animation. Only values between 0 and 1 (inclusive) are allowed for X and Y of DefaultBezierPoint1 and DefaultBezierPoint2.

Requirements

Target Platforms

Help Version 20.0.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly