Class: UIC::Property::Vector

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



50
51
52
# File 'lib/ruic/attributes.rb', line 50

def get(asset,slide)
	VectorValue.new(asset,self,slide,super)
end

#set(asset, new_value, slide_name_or_index) ⇒ Object



53
54
55
56
# File 'lib/ruic/attributes.rb', line 53

def set(asset,new_value,slide_name_or_index)
	new_value = new_value.join(' ') if new_value.is_a?(Array)
	super( asset, new_value, slide_name_or_index )
end