import { Property } from '@nativescript/core';
import { SVGItem } from './SVGItem';
export const xProperty = new Property({
    name: 'x',
});
export const yProperty = new Property({
    name: 'y',
});
export const dxProperty = new Property({
    name: 'dx',
});
export const dyProperty = new Property({
    name: 'dy',
});
import { DOMParser } from '@xmldom/xmldom';
export class Text extends SVGItem {
    constructor() {
        super();
        this.__domElement = new DOMParser().parseFromString('<text></text>', 'image/svg+xml').documentElement;
    }
}
xProperty.register(Text);
yProperty.register(Text);
dxProperty.register(Text);
dyProperty.register(Text);
//# sourceMappingURL=Text.js.map