public final class

AnimationParameterProto.CubicBezierEasing.Builder

extends <any>

implements AnimationParameterProto.CubicBezierEasingOrBuilder

 java.lang.Object

↳<any>

↳androidx.wear.protolayout.expression.proto.AnimationParameterProto.CubicBezierEasing.Builder

Overview

 The cubic polynomial easing that implements third-order Bezier curves. This
 is equivalent to the Android PathInterpolator.
 
Protobuf type androidx.wear.protolayout.expression.proto.CubicBezierEasing

Summary

Methods
public AnimationParameterProto.CubicBezierEasing.BuilderclearX1()

 The x coordinate of the first control point.

public AnimationParameterProto.CubicBezierEasing.BuilderclearX2()

 The x coordinate of the second control point.

public AnimationParameterProto.CubicBezierEasing.BuilderclearY1()

 The y coordinate of the first control point.

public AnimationParameterProto.CubicBezierEasing.BuilderclearY2()

 The y coordinate of the second control point.

public floatgetX1()

 The x coordinate of the first control point.

public floatgetX2()

 The x coordinate of the second control point.

public floatgetY1()

 The y coordinate of the first control point.

public floatgetY2()

 The y coordinate of the second control point.

public AnimationParameterProto.CubicBezierEasing.BuildersetX1(float value)

 The x coordinate of the first control point.

public AnimationParameterProto.CubicBezierEasing.BuildersetX2(float value)

 The x coordinate of the second control point.

public AnimationParameterProto.CubicBezierEasing.BuildersetY1(float value)

 The y coordinate of the first control point.

public AnimationParameterProto.CubicBezierEasing.BuildersetY2(float value)

 The y coordinate of the second control point.

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Methods

public float getX1()

 The x coordinate of the first control point. The line through the point (0,
 0) and the first control point is tangent to the easing at the point (0, 0)
 
float x1 = 1;

Returns:

The x1.

 The x coordinate of the first control point. The line through the point (0,
 0) and the first control point is tangent to the easing at the point (0, 0)
 
float x1 = 1;

Parameters:

value: The x1 to set.

Returns:

This builder for chaining.

 The x coordinate of the first control point. The line through the point (0,
 0) and the first control point is tangent to the easing at the point (0, 0)
 
float x1 = 1;

Returns:

This builder for chaining.

public float getY1()

 The y coordinate of the first control point. The line through the point (0,
 0) and the first control point is tangent to the easing at the point (0,
 0).
 
float y1 = 2;

Returns:

The y1.

 The y coordinate of the first control point. The line through the point (0,
 0) and the first control point is tangent to the easing at the point (0,
 0).
 
float y1 = 2;

Parameters:

value: The y1 to set.

Returns:

This builder for chaining.

 The y coordinate of the first control point. The line through the point (0,
 0) and the first control point is tangent to the easing at the point (0,
 0).
 
float y1 = 2;

Returns:

This builder for chaining.

public float getX2()

 The x coordinate of the second control point. The line through the point
 (1, 1) and the second control point is tangent to the easing at the point
 (1, 1).
 
float x2 = 3;

Returns:

The x2.

 The x coordinate of the second control point. The line through the point
 (1, 1) and the second control point is tangent to the easing at the point
 (1, 1).
 
float x2 = 3;

Parameters:

value: The x2 to set.

Returns:

This builder for chaining.

 The x coordinate of the second control point. The line through the point
 (1, 1) and the second control point is tangent to the easing at the point
 (1, 1).
 
float x2 = 3;

Returns:

This builder for chaining.

public float getY2()

 The y coordinate of the second control point. The line through the point
 (1, 1) and the second control point is tangent to the easing at the point
 (1, 1).
 
float y2 = 4;

Returns:

The y2.

 The y coordinate of the second control point. The line through the point
 (1, 1) and the second control point is tangent to the easing at the point
 (1, 1).
 
float y2 = 4;

Parameters:

value: The y2 to set.

Returns:

This builder for chaining.

 The y coordinate of the second control point. The line through the point
 (1, 1) and the second control point is tangent to the easing at the point
 (1, 1).
 
float y2 = 4;

Returns:

This builder for chaining.