Klasse MaskNode

Alle implementierten Schnittstellen:
PointerInterface

public class MaskNode extends RenderNode
A render node masking one child node with another.

https://docs.gtk.org/gsk4/class.MaskNode.html

  • Konstruktordetails

    • MaskNode

      public MaskNode(PointerContainer pointer)
    • MaskNode

      public MaskNode(@Nonnull RenderNode source, @Nonnull RenderNode mask, int mask_mode)
      Creates a `GskRenderNode` that will mask a given node by another.

      The @mask_mode determines how the 'mask values' are derived from
      the colors of the @mask. Applying the mask consists of multiplying
      the 'mask value' with the alpha of the source.
      Parameter:
      source - The source node to be drawn
      mask - The node to be used as mask
      mask_mode - The mask mode to use
  • Methodendetails

    • getClassHandler

      public static ClassHandler getClassHandler()
    • getMask

      public RenderNode getMask()
      Retrieves the mask `GskRenderNode` child of the @node.
      Gibt zurück:
      the mask child node
    • getMaskMode

      public int getMaskMode()
      Retrieves the mask mode used by @node.
      Gibt zurück:
      the mask mode
    • getSource

      public RenderNode getSource()
      Retrieves the source `GskRenderNode` child of the @node.
      Gibt zurück:
      the source child node
    • getTypeID

      public static long getTypeID()
    • getParentTypeID

      public static long getParentTypeID()
    • getTypeSize

      public static TypeSystem.TypeSize getTypeSize()
    • getParentTypeSize

      public static TypeSystem.TypeSize getParentTypeSize()
    • getInstanceSize

      public static int getInstanceSize()