Module tdlight.api

Class TdApi.VectorPathCommandCubicBezierCurve

java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.VectorPathCommand
it.tdlight.jni.TdApi.VectorPathCommandCubicBezierCurve
Enclosing class:
TdApi

public static final class TdApi.VectorPathCommandCubicBezierCurve extends TdApi.VectorPathCommand
A cubic Bézier curve to a given point.
  • Field Details

    • startControlPoint

      public TdApi.Point startControlPoint
      The start control point of the curve.
    • endControlPoint

      public TdApi.Point endControlPoint
      The end control point of the curve.
    • endPoint

      public TdApi.Point endPoint
      The end point of the curve.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • VectorPathCommandCubicBezierCurve

      public VectorPathCommandCubicBezierCurve()
      A cubic Bézier curve to a given point.
    • VectorPathCommandCubicBezierCurve

      public VectorPathCommandCubicBezierCurve(TdApi.Point startControlPoint, TdApi.Point endControlPoint, TdApi.Point endPoint)
      A cubic Bézier curve to a given point.
      Parameters:
      startControlPoint - The start control point of the curve.
      endControlPoint - The end control point of the curve.
      endPoint - The end point of the curve.
    • VectorPathCommandCubicBezierCurve

      public VectorPathCommandCubicBezierCurve(DataInput input) throws IOException
      A cubic Bézier curve to a given point.
      Parameters:
      input - Serialized input
      Throws:
      IOException - the deserialization failed
  • Method Details

    • getConstructor

      public int getConstructor()
      Description copied from class: TdApi.Object
      Returns an identifier uniquely determining type of the object.
      Specified by:
      getConstructor in class TdApi.Object
      Returns:
      this.CONSTRUCTOR
    • serialize

      public void serialize(DataOutput output) throws IOException
      Serialize the TDLib class
      Specified by:
      serialize in class TdApi.Object
      Parameters:
      output - output data stream
      Throws:
      IOException - the serialization failed
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object