Class Rubyshop::LayerMask
In: lib/rubyshop/layermask.rb
Parent: Layer

Methods

is_locked?   lock   new   unlock  

Attributes

background  [RW] 

Public Class methods

Public Instance methods

Determine the locked state of the LayerMask.

  • Locked LayerMasks transformations are contrained to their Layer and vice versa.
  • Unlocked LayerMasks are not contrained to Layer transformations and are free to be transformed on their own.

Lock the LayerMask to its Layer

A locked LayerMask is contrained to its Layers transformations (offset, scale, rotate).

Unlock the LayerMask from its Layer.

An unlocked LayerMask is free to be transformed on its own and is not contrained to its Layers transformations (offset, scale, rotate).

[Validate]