struct Goban::RMQR::Mask

Overview

Represents a mask pattern that can be applied to a canvas.

Defined in:

goban/rmqr/mask.cr

Constant Summary

MASK_PATTERN = ->(x : Int32, y : Int32) do (((x // 3) + (y // 2)) & 1) == 0 end

Constructors

Instance methods inherited from struct Goban::AbstractQR::Mask

value : UInt8 value

Constructor Detail

def self.new #

[View source]