Sha256: f3b72bbe58ada4b7e46cf5823dd1bbd3a6b7edd6b9cf9fd9073f611c35acb03b
Contents?: true
Size: 295 Bytes
Versions: 3
Compression:
Stored size: 295 Bytes
Contents
# frozen_string_literal: true module Asciidoctor::PDF::FormattedText class FragmentPositionRenderer attr_reader :top, :right, :bottom, :left def render_behind fragment @top = fragment.top @right = (@left = fragment.left) + fragment.width @bottom = fragment.bottom end end end
Version data entries
3 entries across 3 versions & 1 rubygems