oops
This commit is contained in:
parent
f1bd085384
commit
7d6b54825d
@ -233,6 +233,9 @@ export class Doodler {
|
|||||||
ctx.strokeStyle = style?.color || style?.strokeColor || "black";
|
ctx.strokeStyle = style?.color || style?.strokeColor || "black";
|
||||||
|
|
||||||
ctx.lineWidth = style?.weight || 1;
|
ctx.lineWidth = style?.weight || 1;
|
||||||
|
|
||||||
|
ctx.textAlign = style?.textAlign || ctx.textAlign;
|
||||||
|
ctx.textBaseline = style?.textBaseline || ctx.textBaseline;
|
||||||
}
|
}
|
||||||
|
|
||||||
fillText(text: string, pos: Vector, maxWidth: number, style?: IStyle) {
|
fillText(text: string, pos: Vector, maxWidth: number, style?: IStyle) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user