Class: Idml::Elements::Image

Inherits:
Lutaml::Model::Serializable
  • Object
show all
Defined in:
lib/idml/elements/image.rb

Overview

<Image> — a placed image inside a graphic page item (Rectangle, Polygon). Carries the ItemTransform and contains a <Link> child that points to the external image file.

Instance Method Summary collapse

Instance Method Details

#resource_uriObject



28
29
30
# File 'lib/idml/elements/image.rb', line 28

def resource_uri
  link.first&.link_resource_uri
end