class Blend2D::Text::TextMetrics

Defined in:

blend2d/text/text_metrics.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(font : Font, buffer : GlyphBuffer) #

Initialized this TextMetrics object such that it pulls its data from a Font and a GlyphBuffer.


[View source]

Instance Method Detail

def advance #

The advance point of this metric.


[View source]
def bounding_box #

The bounding box of this metric.


[View source]