A bitmask of TextDecoration values.
number rather than a union of the flags, deliberately: they combine, so TextDecoration.Underline | TextDecoration.LineThrough is 0x5, and a union of the individual values would reject every combination -- which is the only reason to have flags.
number
TextDecoration.Underline | TextDecoration.LineThrough
0x5
🧪 Not in the HTML Canvas standard.
A bitmask of TextDecoration values.
numberrather than a union of the flags, deliberately: they combine, soTextDecoration.Underline | TextDecoration.LineThroughis0x5, and a union of the individual values would reject every combination -- which is the only reason to have flags.🧪 Not in the HTML Canvas standard.