Package io.qt.quick

Class QSGGeometry.TexturedPoint2D

java.lang.Object
io.qt.QtObject
io.qt.quick.QSGGeometry.TexturedPoint2D
All Implemented Interfaces:
QtObjectInterface, Cloneable
Enclosing class:
QSGGeometry

public static class QSGGeometry.TexturedPoint2D extends QtObject implements Cloneable

QSGGeometry::TexturedPoint2D struct is a convenience struct for accessing 2D Points with texture coordinates

Java wrapper for Qt class QSGGeometry::TexturedPoint2D

  • Constructor Summary

    Constructors
    Constructor
    Description
    See QSGGeometry::TexturedPoint2D::TexturedPoint2D()
    TexturedPoint2D(float x, float y, float tx, float ty)
    See QSGGeometry::TexturedPoint2D::TexturedPoint2D{float,float,float,float}
    See QSGGeometry::TexturedPoint2D::TexturedPoint2D(QSGGeometry::TexturedPoint2D)
  • Method Summary

    Modifier and Type
    Method
    Description
    Creates and returns a copy of this object.
    final boolean
    See operator==(QSGGeometry::TexturedPoint2D,QSGGeometry::TexturedPoint2D)
    boolean
    equals(Object other)
    See operator==(QSGGeometry::TexturedPoint2D,QSGGeometry::TexturedPoint2D)
    int
    Returns the objects's hash code computed by qHash(QSGGeometry::TexturedPoint2D).
    final void
    set(float nx, float ny, float ntx, float nty)
    final void
    setTx(float tx)
    See QSGGeometry::TexturedPoint2D::tx
    final void
    setTy(float ty)
    See QSGGeometry::TexturedPoint2D::ty
    final void
    setX(float x)
    See QSGGeometry::TexturedPoint2D::x
    final void
    setY(float y)
    See QSGGeometry::TexturedPoint2D::y
    final float
    tx()
    See QSGGeometry::TexturedPoint2D::tx
    final float
    ty()
    See QSGGeometry::TexturedPoint2D::ty
    final float
    x()
    See QSGGeometry::TexturedPoint2D::x
    final float
    y()
    See QSGGeometry::TexturedPoint2D::y

    Methods inherited from class io.qt.QtObject

    dispose, isDisposed

    Methods inherited from class java.lang.Object

    finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TexturedPoint2D

      public TexturedPoint2D()

      See QSGGeometry::TexturedPoint2D::TexturedPoint2D()

    • TexturedPoint2D

      public TexturedPoint2D(QSGGeometry.TexturedPoint2D other)

      See QSGGeometry::TexturedPoint2D::TexturedPoint2D(QSGGeometry::TexturedPoint2D)

      Parameters:
      other -
    • TexturedPoint2D

      public TexturedPoint2D(float x, float y, float tx, float ty)

      See QSGGeometry::TexturedPoint2D::TexturedPoint2D{float,float,float,float}

      Parameters:
      x -
      y -
      tx -
      ty -
  • Method Details

    • equals

      @QtUninvokable public final boolean equals(QSGGeometry.TexturedPoint2D value2)

      See operator==(QSGGeometry::TexturedPoint2D,QSGGeometry::TexturedPoint2D)

      Parameters:
      value2 -
      Returns:
    • set

      @QtUninvokable public final void set(float nx, float ny, float ntx, float nty)
      Parameters:
      nx -
      ny -
      ntx -
      nty -
    • setTx

      @QtUninvokable public final void setTx(float tx)

      See QSGGeometry::TexturedPoint2D::tx

      Parameters:
      tx -
    • tx

      @QtUninvokable public final float tx()

      See QSGGeometry::TexturedPoint2D::tx

      Returns:
    • setTy

      @QtUninvokable public final void setTy(float ty)

      See QSGGeometry::TexturedPoint2D::ty

      Parameters:
      ty -
    • ty

      @QtUninvokable public final float ty()

      See QSGGeometry::TexturedPoint2D::ty

      Returns:
    • setX

      @QtUninvokable public final void setX(float x)

      See QSGGeometry::TexturedPoint2D::x

      Parameters:
      x -
    • x

      @QtUninvokable public final float x()

      See QSGGeometry::TexturedPoint2D::x

      Returns:
    • setY

      @QtUninvokable public final void setY(float y)

      See QSGGeometry::TexturedPoint2D::y

      Parameters:
      y -
    • y

      @QtUninvokable public final float y()

      See QSGGeometry::TexturedPoint2D::y

      Returns:
    • equals

      @QtUninvokable public boolean equals(Object other)

      See operator==(QSGGeometry::TexturedPoint2D,QSGGeometry::TexturedPoint2D)

      Overrides:
      equals in class QtObject
      Parameters:
      other - other object
      Returns:
      true if the native counterpart of the two objects are one and the same.
    • hashCode

      @QtUninvokable public int hashCode()
      Returns the objects's hash code computed by qHash(QSGGeometry::TexturedPoint2D).
      Overrides:
      hashCode in class Object
    • clone

      Creates and returns a copy of this object.

      See QSGGeometry::TexturedPoint2D::TexturedPoint2D(QSGGeometry::TexturedPoint2D)

      Overrides:
      clone in class Object