mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-15 12:23:15 +00:00
f19b17e089
This allows for: * Transformed text (e.g. rotated text) * Stroked text * Filling/stroking text with PaintStyles (e.g. gradients) * Squashed/condensed text (via maxWidth parameter) Fixes part of #22817
10 lines
141 B
HTML
10 lines
141 B
HTML
<style>
|
|
* {
|
|
margin: 0;
|
|
}
|
|
body {
|
|
background-color: white;
|
|
}
|
|
</style>
|
|
<img src="./images/canvas-text-ref.png">
|