UNPKG
dropflow
Version:
latest (0.6.1)
0.6.1
0.6.0
0.5.1
0.5.0
0.4.0
0.3.0
0.2.0
0.1.2
0.1.1
0.1.0
A small CSS2 document renderer built from specifications
dropflow
/
dist
/
src
/
canvas-environment.d.ts
8 lines
(7 loc)
•
273 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
import
{
FaceMatch
}
from
'./text-font.js'
;
interface
CanvasEnvironment
{
registerFont
(
match
:
FaceMatch
):
void
; }
export
declare
function
getCanvasEnvironment
(
):
CanvasEnvironment
;
export
declare
function
setCanvasEnvironment
(
env_
:
CanvasEnvironment
):
void
;
export
{};