2016-05-31 06:07:02 +08:00
|
|
|
import React, { PropTypes } from 'react';
|
|
|
|
|
|
|
|
export default class TextDrawComponent extends React.Component {
|
|
|
|
constructor(props) {
|
|
|
|
super(props);
|
|
|
|
}
|
|
|
|
|
|
|
|
render() {
|
|
|
|
var style = {
|
|
|
|
WebkitTapHighlightColor: 'rgba(0, 0, 0, 0)',
|
|
|
|
};
|
|
|
|
return (
|
|
|
|
|
|
|
|
// style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
|
|
//text-anchor: start; font-style: normal; font-variant: normal;
|
|
|
|
//font-weight: normal; font-stretch: normal; font-size: 20px;
|
|
|
|
//line-height: normal; font-family: Arial;"
|
|
|
|
<text
|
|
|
|
x=""
|
|
|
|
y=""
|
|
|
|
text-anchor=""
|
|
|
|
font=""
|
|
|
|
stroke=""
|
|
|
|
fill=""
|
|
|
|
style={style}
|
|
|
|
font-family=""
|
|
|
|
font-size=""
|
|
|
|
stroke-width=""
|
|
|
|
>
|
|
|
|
<tspan
|
|
|
|
x=""
|
|
|
|
dy=""
|
2016-05-27 08:13:53 +08:00
|
|
|
>
|
|
|
|
</tspan>
|
2016-05-31 06:07:02 +08:00
|
|
|
</text>
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|