Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/canvaseno/types.ts>TextStyle

Canvas API for deno
Latest
interface TextStyle
import { type TextStyle } from "https://deno.land/x/canvaseno@v1.0.2/types.ts";

Properties

optional
backgroundColor: InputColor
optional
color: InputColor
optional
decoration: number
optional
decorationColor: InputColor
optional
decorationThickness: number
optional
decrationStyle: DecorationStyle
optional
fontFamilies: string[]
optional
fontFeatures: TextFontFeatures[]
optional
fontSize: number
optional
fontStyle: FontStyle
optional
foregroundColor: InputColor
optional
heightMultiplier: number
optional
letterSpacing: number
optional
locale: string
optional
shadows: TextShadow[]
optional
textBaseline: TextBaseline
optional
wordSpacing: number