12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697 |
- const Style = {
- Road: {
- strokeStyle: "rgba(255,0,0,0.5)",
- lineWidth: 4,
- error: {
- strokeStyle: "rgba(255,0,0,0.5)",
- fillStyle: "rgba(255,0,0,0.8)",
- },
- },
- Point: {
- strokeStyle: "green",
- fillStyle: "rgb(0, 200, 175)",
- radius: 4,
- },
- Tag: {
- strokeStyle: "rgb(255,255,255,1)",
- fillStyle: "rgb(255,255,255,1)",
- strokeStyle_adding: "rgba(243, 255, 0, 0.8)",
- fillStyle_adding: "rgba(243, 255, 0, 0.8)",
- lineWidth: 1,
- },
- Select: {
- Road: {
- strokeStyle: "rgba(243, 255, 0, 1)",
- },
- Tag: {
- strokeStyle: "#00C8AF",
- fillStyle: "#00C8AF",
- },
- Point: {
- radius: 4,
- lineWidth: 2,
- fillStyle: "rgba(245, 255, 0, 1)",
- strokeStyle: "rgba(245, 255, 255, 1)",
- },
- },
- Focus: {
- Road: {
- strokeStyle: "rgba(243, 255, 0, 1)",
- },
- Tag: {
- strokeStyle: "#00C8AF",
- fillStyle: "#00C8AF",
- },
- Point: {
- radius: 4,
- lineWidth: 2,
- fillStyle: "rgba(245, 255, 0, 1)",
- strokeStyle: "rgba(245, 255, 255, 1)",
- },
- },
- Element: {
- AddingPoint: {
- radius: 4,
- fillStyle: "yellow",
- strokeStyle: "green",
- },
- NewRoad: {
- lineWidth: 4,
- strokeStyle: "rgba(100,100,100,0.3)",
- errorStrokeStyle: "rgb(250,63,72,0.3)",
- },
- CheckLinesX: {
- lineWidth: 2,
- strokeStyle: "#CED806",
- },
- CheckLinesY: {
- lineWidth: 2,
- strokeStyle: "#CED806",
- },
- VCheckLinesX: {
- lineWidth: 2,
- strokeStyle: "#CED806",
- //strokeStyle: 'rgba(100,149,237,0.5)',
- },
- VCheckLinesY: {
- lineWidth: 2,
- strokeStyle: "#CED806",
- //strokeStyle: 'rgba(100,149,237,0.5)',
- },
- },
- Font: {
- font: "14px Microsoft YaHei",
- fillStyle: "#000000",
- strokeStyle: "#000000",
- textAlign: "center",
- textBaseline: "middle",
- miterLimit: 10,
- direction: "ltr",
- },
- Measure: {
- txt: "rgba(255,255,255,1)", //画墙/选墙的时候 测量值的颜色
- strokeStyle: "rgba(255,255,255,1)",
- lineWidth: 1,
- },
- };
- export default Style;
|