Class: Idml::Render::TextWrapResolver::Contour

Inherits:
Struct
  • Object
show all
Defined in:
lib/idml/render/text_wrap_resolver.rb

Overview

A wrap contour: a PDF-coordinate rectangle the text avoids.

Instance Attribute Summary collapse

Instance Attribute Details

#heightObject

Returns the value of attribute height

Returns:

  • (Object)

    the current value of height



16
17
18
# File 'lib/idml/render/text_wrap_resolver.rb', line 16

def height
  @height
end

#widthObject

Returns the value of attribute width

Returns:

  • (Object)

    the current value of width



16
17
18
# File 'lib/idml/render/text_wrap_resolver.rb', line 16

def width
  @width
end

#xObject

Returns the value of attribute x

Returns:

  • (Object)

    the current value of x



16
17
18
# File 'lib/idml/render/text_wrap_resolver.rb', line 16

def x
  @x
end

#yObject

Returns the value of attribute y

Returns:

  • (Object)

    the current value of y



16
17
18
# File 'lib/idml/render/text_wrap_resolver.rb', line 16

def y
  @y
end