Class: UIC::Property::Image

Inherits:
UIC::Property show all
Defined in:
lib/ruic/attributes.rb

Constant Summary

Constants inherited from UIC::Property

Color, Float2, FontSize, Import, Mesh, MultiLineString, Renderable, Rotation, StringListOrInt

Instance Attribute Summary

Attributes inherited from UIC::Property

#default

Instance Method Summary collapse

Methods inherited from UIC::Property

#description, #formal, #initialize, #inspect, #max, #min, #name, #type

Constructor Details

This class inherits a constructor from UIC::Property

Instance Method Details

#get(asset, slide) ⇒ Object



63
64
65
66
67
68
69
# File 'lib/ruic/attributes.rb', line 63

def get(asset,slide)
  if idref = super
    result = asset.presentation.asset_by_id( idref[1..-1] )
    # slide ? result.on_slide( slide ) : result

    # Getting the asset on a particular slide makes it weird

  end
end

#set(asset, new_value, slide) ⇒ Object



70
71
72
# File 'lib/ruic/attributes.rb', line 70

def set(asset,new_value,slide)
  raise "Setting image attributes not yet supported"
end