Sha256: 14cd589fc86a465b40963e09982be72959d5bf678769c567aab88cd6706e3458

Contents?: true

Size: 344 Bytes

Versions: 1

Compression:

Stored size: 344 Bytes

Contents

class PSD
  class Layer
    module BlendModes
      attr_reader :blend_mode, :blending_mode, :opacity

      private
      
      def parse_blend_modes
        @blend_mode = BlendMode.read(@file)

        @blending_mode = @blend_mode.mode
        @opacity = @blend_mode.opacity
        @visible = @blend_mode.visible
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
psd-1.3.3 lib/psd/layer/blend_modes.rb