class HexaPDF::Composer

def y

circle(composer.x, composer.y, 5).stroke
circle(composer.x, composer.y, 0.5).fill.
composer.canvas.stroke_color("hp-blue").
composer.text("Hello", position: :float)
#>pdf-composer

Example:

The y-position inside the current frame.where the next box (provided it fits) will be placed.
def y
  @frame.y
end