Class: UIC::Property::Image

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

Constant Summary

Constants inherited from UIC::Property

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

Instance Method Summary collapse

Methods inherited from UIC::Property

#default, #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



59
60
61
62
63
64
# File 'lib/ruic/attributes.rb', line 59

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

#set(asset, new_value, slide) ⇒ Object



65
66
67
# File 'lib/ruic/attributes.rb', line 65

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