method Video.getStrWidth
Video.getStrWidth(str)

指定した文字列の描画時の横幅(ピクセル数)を計算して返すよ 📐📏

Parameters

str

計測したい文字列 🔤

Return Type

Usage

import { Video } from ".";