Files
railwaysystem/RuoYi-Vue/ruoyi-ui/node_modules1/@antv/g-svg/lib/shape/text.d.ts
T
2026-09-10 15:40:10 +08:00

33 lines
783 B
TypeScript

/**
* @fileoverview text
* @author dengfuping_develop@163.com
*/
import ShapeBase from './base';
declare class Text extends ShapeBase {
type: string;
canFill: boolean;
canStroke: boolean;
getDefaultAttrs(): {
x: number;
y: number;
text: any;
fontSize: number;
fontFamily: string;
fontStyle: string;
fontWeight: string;
fontVariant: string;
textAlign: string;
textBaseline: string;
lineWidth: number;
lineAppendWidth: number;
strokeOpacity: number;
fillOpacity: number;
matrix: any;
opacity: number;
};
createPath(context: any, targetAttrs: any): void;
_setFont(): void;
_setText(text: any): void;
}
export default Text;