gsk.color_matrix_node

Module for [ColorMatrixNode] class

Types 1

classColorMatrixNode : gsk.render_node.RenderNode

A render node controlling the color matrix of its single child node.

Methods
gsk.render_node.RenderNode getChild()Gets the child node that is getting its colors modified by the given node. Returns: The child that is getting its colors modified
graphene.matrix.Matrix getColorMatrix()Retrieves the color matrix used by the node. Returns: a 4x4 color matrix
graphene.vec4.Vec4 getColorOffset()Retrieves the color offset used by the node. Returns: a color vector
Constructors
this(void * ptr, Flag!"Take" take)
this(gsk.render_node.RenderNode child, graphene.matrix.Matrix colorMatrix, graphene.vec4.Vec4 colorOffset)Creates a [gsk.rendernode.RenderNode] that will drawn the child with colormatrix.