Document mask node parser format
authorMatthias Clasen <mclasen@redhat.com>
Tue, 14 Feb 2023 23:36:43 +0000 (18:36 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 15 Feb 2023 00:07:01 +0000 (19:07 -0500)
demos/node-editor/node-format.md

index 557a8950a5572b7685cf18f80d45f69dda732abd..e769865887178a46c963e9b9256a8af8ed03269f 100644 (file)
@@ -178,6 +178,16 @@ Creates a node like `gsk_inset_shadow_node_new()` with the given properties.
 
 Creates a node like `gsk_linear_gradient_node_new()` with the given properties.
 
+### mask
+
+| property | syntax           | default                | printed     |
+| -------- | ---------------- | ---------------------- | ----------- |
+| source   | `<node>`         | color { }              | always      |
+| mode     | `<blend-mode>`   | alpha                  | non-default |
+| mask     | `<node>`         | color { }              | always      |
+
+Creates a node like `gsk_mask_node_new()` with the given properties.
+
 ### opacity
 
 | property | syntax           | default                | printed     |