Method: Magick::Draw#pointsize

Defined in:
lib/rmagick_internal.rb

#pointsize(points) ⇒ Object Also known as: font_size

Specify the font size in points. Yes, the primitive is “font-size” but in other places this value is called the “pointsize”. Give it both names.



482
483
484
# File 'lib/rmagick_internal.rb', line 482

def pointsize(points)
  primitive 'font-size ' + sprintf('%g', points)
end