This commit is contained in:
Thomas 2022-04-09 20:35:39 -05:00
parent 82d361d7ef
commit ec69324496
2 changed files with 15 additions and 5 deletions

View File

@ -1,11 +1,12 @@
<svg width="100%" height="100%" xmlns="http://www.w3.org/2000/svg"> <svg width="100%" height="100%" xmlns="http://www.w3.org/2000/svg">
<defs> <defs>
<pattern id="smallGrid" width="25" height="25" patternUnits="userSpaceOnUse"> <pattern id="smallGrid" width="25" height="25" patternUnits="userSpaceOnUse">
<path d="M 25 0 L 0 0 0 25" fill="none" stroke="gray" stroke-width="0.5"/> <!-- <path d="M 25 0 L 0 0 0 25" fill="none" stroke="gray" stroke-width="0.5"/> -->
<circle cx="0.5" cy=".5" r=".25" stroke="gray" fill="transparent" stroke-width="1"/>
</pattern> </pattern>
<pattern id="grid" width="250" height="250" patternUnits="userSpaceOnUse"> <pattern id="grid" width="250" height="250" patternUnits="userSpaceOnUse">
<rect width="250" height="250" fill="url(#smallGrid)"/> <rect width="250" height="250" fill="url(#smallGrid)"/>
<path d="M 250 0 L 0 0 0 250" fill="none" stroke="gray" stroke-width="1"/> <path d="M 250 0 L 0 0 0 250" fill="none" stroke="gray" stroke-width="2"/>
</pattern> </pattern>
</defs> </defs>

Before

Width:  |  Height:  |  Size: 571 B

After

Width:  |  Height:  |  Size: 673 B

View File

@ -98,7 +98,16 @@ export class RichTextBox {
public text: string = '', public text: string = '',
public x: number = 0, public x: number = 0,
public y: number = 0, public y: number = 0,
) { ) {}
}
export class ImageBox {
constructor(
public text: string = '',
public x: number = 0,
public y: number = 0,
) {}
} }
}