Method: PSD::Layer::PathComponents#scale_path_components

Defined in:
lib/psd/layer/path_components.rb

#scale_path_components(xr, yr) ⇒ Object

Attempt to scale the path components within this layer.



15
16
17
18
19
# File 'lib/psd/layer/path_components.rb', line 15

def scale_path_components(xr, yr)
  return unless @path_components

  @path_components.each{ |p| p.scale(xr, yr) }
end