Files
lan-manager/web/node_modules/@antv/g-svg/lib/shape/text.d.ts
openclaw 0a5f6a8047 Initial commit: Lan-manager project code
- Go backend (server/)
- Frontend (web/, server/static/)
- Database and deployment files
- Scripts and docs

Co-Authored-By: 狸花猫/Claude-Qwen3.6-Plus 🐾
2026-04-20 00:52:58 +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;