module Celestine::Modules::Mask

Overview

Gives drawable access to an applied mask

Direct including types

Defined in:

modules/mask.cr

Instance Method Summary

Instance Method Detail

def mask_attribute(io : IO) #

Draws the mask atttribute out to an IO


[View source]
def set_mask(id : String) #

Sets the mask to use via ID on this drawable


[View source]
def set_mask(mask : Celestine::Mask) #

Sets the mask to use on this drawable


[View source]