enum Gsk::MaskMode

Overview

The mask modes available for mask nodes.

Defined in:

lib/gi-crystal/src/auto/gsk-4.0/gsk.cr

Enum Members

Alpha = 0_u32

Use the alpha channel of the mask

InvertedAlpha = 1_u32

Use the inverted alpha channel of the mask

Luminance = 2_u32

Use the luminance of the mask, multiplied by mask alpha

InvertedLuminance = 3_u32

Use the inverted luminance of the mask, multiplied by mask alpha

Class Method Summary

Instance Method Summary

Class methods inherited from struct Enum

g_type : UInt64 g_type

Class Method Detail

def self.g_type : UInt64 #

Returns the type id (GType) registered in GLib type system.


Instance Method Detail

def alpha? #

def inverted_alpha? #

def inverted_luminance? #

def luminance? #