Skip to main content

canvas_fill_text

Function canvas_fill_text 

Source
pub fn canvas_fill_text(
    _it: &mut Interp,
    this: Value,
    a: &[Value],
) -> Result<Value, Value>
Expand description

fillText(text, x, y)

strokeText も同じ処理へ回す。線でなぞる形は未対応で、 塗りで代用する(何も描かないよりは近い)。