The OpenD Programming Language

IRenderingContext2D.measureText

Returns a TextMetrics struct that contains information about the measured text (such as its width, for example).

interface IRenderingContext2D
measureText
(
const(char)[] text
)

Meta