java.lang.Object
io.qt.QtObject
io.qt.quick.QSGNode
io.qt.quick.QSGBasicGeometryNode
io.qt.quick.QSGGeometryNode
io.qt.quick.QSGImageNode
- All Implemented Interfaces:
QtObjectInterface
Provided for convenience to easily draw textured content using the QML scene graph
Java wrapper for Qt class QSGImageNode
- Since:
- This class was introduced in Qt 5.8.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQSGImageNode::TextureCoordinatesTransformFlag
static final class
QFlags
type for enumQSGImageNode.TextureCoordinatesTransformFlag
Nested classes/interfaces inherited from class io.qt.quick.QSGNode
QSGNode.DirtyState, QSGNode.DirtyStateBit, QSGNode.Flag, QSGNode.Flags
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract QSGTexture.Filtering
abstract QSGTexture.Filtering
abstract boolean
static void
rebuildGeometry
(QSGGeometry g, QSGTexture texture, QRectF rect, QRectF sourceRect, QSGImageNode.TextureCoordinatesTransformFlag ... texCoordMode) static void
rebuildGeometry
(QSGGeometry g, QSGTexture texture, QRectF rect, QRectF sourceRect, QSGImageNode.TextureCoordinatesTransformMode texCoordMode) static void
rebuildGeometry
(QSGGeometry g, QSGTexture texture, QRectF rect, QRect sourceRect, QSGImageNode.TextureCoordinatesTransformFlag ... texCoordMode) static void
rebuildGeometry
(QSGGeometry g, QSGTexture texture, QRectF rect, QRect sourceRect, QSGImageNode.TextureCoordinatesTransformMode texCoordMode) static void
rebuildGeometry
(QSGGeometry g, QSGTexture texture, QRect rect, QRectF sourceRect, QSGImageNode.TextureCoordinatesTransformFlag ... texCoordMode) static void
rebuildGeometry
(QSGGeometry g, QSGTexture texture, QRect rect, QRectF sourceRect, QSGImageNode.TextureCoordinatesTransformMode texCoordMode) static void
rebuildGeometry
(QSGGeometry g, QSGTexture texture, QRect rect, QRect sourceRect, QSGImageNode.TextureCoordinatesTransformFlag ... texCoordMode) static void
rebuildGeometry
(QSGGeometry g, QSGTexture texture, QRect rect, QRect sourceRect, QSGImageNode.TextureCoordinatesTransformMode texCoordMode) abstract QRectF
rect()
abstract void
setFiltering
(QSGTexture.Filtering filtering) abstract void
setMipmapFiltering
(QSGTexture.Filtering filtering) abstract void
setOwnsTexture
(boolean owns) final void
setRect
(double x, double y, double w, double h) final void
Overloaded function forsetRect(io.qt.core.QRectF)
.abstract void
final void
setSourceRect
(double x, double y, double w, double h) final void
Overloaded function forsetSourceRect(io.qt.core.QRectF)
.abstract void
abstract void
setTexture
(QSGTexture texture) final void
Overloaded function forsetTextureCoordinatesTransform(io.qt.quick.QSGImageNode.TextureCoordinatesTransformMode)
.abstract void
abstract QRectF
abstract QSGTexture
texture()
Methods inherited from class io.qt.quick.QSGGeometryNode
activeMaterial, inheritedOpacity, material, opaqueMaterial, renderOrder, setInheritedOpacity, setMaterial, setOpaqueMaterial, setRenderOrder, toString
Methods inherited from class io.qt.quick.QSGBasicGeometryNode
clipList, geometry, matrix, setGeometry, setRendererClipList, setRendererMatrix
Methods inherited from class io.qt.quick.QSGNode
appendChildNode, childAtIndex, childCount, clearDirty, dirtyState, firstChild, flags, insertChildNodeAfter, insertChildNodeBefore, isSubtreeBlocked, lastChild, markDirty, markDirty, nextSibling, parent, prependChildNode, preprocess, previousSibling, qsgnode_set_description, removeAllChildNodes, removeChildNode, reparentChildNodesTo, setFlag, setFlag, setFlags, setFlags
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QSGImageNode
public QSGImageNode()See
QSGImageNode::
QSGImageNode()
-
-
Method Details
-
setRect
- Parameters:
x
-y
-w
-h
-
-
setSourceRect
- Parameters:
x
-y
-w
-h
-
-
filtering
- Returns:
-
mipmapFiltering
- Returns:
-
ownsTexture
- Returns:
-
rect
- Returns:
-
setFiltering
- Parameters:
filtering
-
-
setMipmapFiltering
- Parameters:
filtering
-
-
setOwnsTexture
- Parameters:
owns
-
-
setRect
- Parameters:
rect
-
-
setSourceRect
- Parameters:
r
-
-
setTexture
- Parameters:
texture
-
-
setTextureCoordinatesTransform
@QtUninvokable public abstract void setTextureCoordinatesTransform(QSGImageNode.TextureCoordinatesTransformMode mode) - Parameters:
mode
-
-
sourceRect
- Returns:
-
texture
- Returns:
-
textureCoordinatesTransform
@QtUninvokable public abstract QSGImageNode.TextureCoordinatesTransformMode textureCoordinatesTransform()- Returns:
-
rebuildGeometry
public static void rebuildGeometry(QSGGeometry g, QSGTexture texture, QRectF rect, QRectF sourceRect, QSGImageNode.TextureCoordinatesTransformMode texCoordMode) - Parameters:
g
-texture
-rect
-sourceRect
-texCoordMode
-
-
setRect
Overloaded function for
setRect(io.qt.core.QRectF)
. -
setSourceRect
Overloaded function for
setSourceRect(io.qt.core.QRectF)
. -
setTextureCoordinatesTransform
@QtUninvokable public final void setTextureCoordinatesTransform(QSGImageNode.TextureCoordinatesTransformFlag ... mode) Overloaded function for
setTextureCoordinatesTransform(io.qt.quick.QSGImageNode.TextureCoordinatesTransformMode)
. -
rebuildGeometry
public static void rebuildGeometry(QSGGeometry g, QSGTexture texture, QRect rect, QRectF sourceRect, QSGImageNode.TextureCoordinatesTransformMode texCoordMode) -
rebuildGeometry
public static void rebuildGeometry(QSGGeometry g, QSGTexture texture, QRectF rect, QRect sourceRect, QSGImageNode.TextureCoordinatesTransformMode texCoordMode) -
rebuildGeometry
public static void rebuildGeometry(QSGGeometry g, QSGTexture texture, QRect rect, QRect sourceRect, QSGImageNode.TextureCoordinatesTransformMode texCoordMode) -
rebuildGeometry
public static void rebuildGeometry(QSGGeometry g, QSGTexture texture, QRectF rect, QRectF sourceRect, QSGImageNode.TextureCoordinatesTransformFlag ... texCoordMode) -
rebuildGeometry
public static void rebuildGeometry(QSGGeometry g, QSGTexture texture, QRect rect, QRectF sourceRect, QSGImageNode.TextureCoordinatesTransformFlag ... texCoordMode) -
rebuildGeometry
public static void rebuildGeometry(QSGGeometry g, QSGTexture texture, QRectF rect, QRect sourceRect, QSGImageNode.TextureCoordinatesTransformFlag ... texCoordMode) -
rebuildGeometry
public static void rebuildGeometry(QSGGeometry g, QSGTexture texture, QRect rect, QRect sourceRect, QSGImageNode.TextureCoordinatesTransformFlag ... texCoordMode)
-