- Go backend (server/)
- Frontend (web/, server/static/)
- Database and deployment files
- Scripts and docs
Co-Authored-By: 狸花猫/Claude-Qwen3.6-Plus 🐾
33 lines
783 B
TypeScript
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;
|