Class: Idml::Render::WrapContour::Shape

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

Overview

A wrap shape: flattened polygons (one per subpath) plus the TextWrapOffset bounds. inverse flips the wrap region: text may only flow INSIDE the shape. side carries TextWrapSide for side-aware narrowing (TODO 147).

Instance Attribute Summary collapse

Instance Attribute Details

#inverseObject

Returns the value of attribute inverse

Returns:

  • (Object)

    the current value of inverse



18
19
20
# File 'lib/idml/render/wrap_contour.rb', line 18

def inverse
  @inverse
end

#offsetObject

Returns the value of attribute offset

Returns:

  • (Object)

    the current value of offset



18
19
20
# File 'lib/idml/render/wrap_contour.rb', line 18

def offset
  @offset
end

#polygonsObject

Returns the value of attribute polygons

Returns:

  • (Object)

    the current value of polygons



18
19
20
# File 'lib/idml/render/wrap_contour.rb', line 18

def polygons
  @polygons
end

#sideObject

Returns the value of attribute side

Returns:

  • (Object)

    the current value of side



18
19
20
# File 'lib/idml/render/wrap_contour.rb', line 18

def side
  @side
end