Skip to content
This repository has been archived by the owner on Jun 28, 2021. It is now read-only.

Stroke thickness breaks alignment #22

Closed
bluepichu opened this issue Jan 2, 2017 · 0 comments
Closed

Stroke thickness breaks alignment #22

bluepichu opened this issue Jan 2, 2017 · 0 comments
Assignees

Comments

@bluepichu
Copy link
Collaborator

Orignially reported by @rknDA1337 in #19.

screenshot 2017-01-02 15 07 43

screenshot 2017-01-02 15 08 17

let textSample = new MultiStyleText("A <red>space rocket</red> is required to get to <blue>the moon</blue>.  The cost is <green>100,000</green> dogecoins.  Get help from the friendly shibes in order to acquire dogecoins faster!", {
	default: {
		fontFamily: "Arial",
		fontSize: "24px",
		fontStyle: "bold",
		align: "center",
		fill: "#ffffff",
		stroke: "#b09054",
		strokeThickness: 4, // 0 in the first picture
		lineJoin: "round",
		wordWrap: true,
		wordWrapWidth: 280
	},
	green: {
		fill: "#c9fcd0"
	},
	red: {
		fill: "#fedede"
	},
	blue: {
		fill: "#c6e8fb"
	}
});
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant