ColorMatrixNode.this

Creates a gsk.render_node.RenderNode that will drawn the child with color_matrix.

In particular, the node will transform colors by applying

pixel = transpose(color_matrix) * pixel + color_offset

for every pixel. The transformation operates on unpremultiplied colors, with color components ordered R, G, B, A.

Parameters

child gsk.render_node.RenderNode

The node to draw

colorMatrix graphene.matrix.Matrix

The matrix to apply

colorOffset graphene.vec4.Vec4

Values to add to the color

Return Value