Module: Archimate::FileFormats::Serializer::ModelExchangeFile::Location

Included in:
ModelExchangeFileWriter21, ModelExchangeFileWriter30
Defined in:
lib/archimate/file_formats/serializer/model_exchange_file/location.rb

Instance Method Summary collapse

Instance Method Details

#serialize_location(xml, location) ⇒ Object



8
9
10
# File 'lib/archimate/file_formats/serializer/model_exchange_file/location.rb', line 8

def serialize_location(xml, location)
  xml.bendpoint(x: location.x.round, y: location.y.round)
end