common.ts 572 B

1234567891011121314151617181920212223
  1. export type ExportTypes = 'image' | 'pdf' | 'psd' | 'json' | 'svg' | ''
  2. export type PoolType = 'editor' | 'template' | 'material' | 'text' | 'image' | 'illustration' | 'layer' | 'code' | 'toolkit' | 'help' | 'chatgpt' | 'frontEditor'
  3. export type SystemFont = {
  4. label: string
  5. value: string
  6. }
  7. export interface PathPoint {
  8. X: number
  9. Y: number
  10. }
  11. export interface EffectItem {
  12. id: string
  13. type: number
  14. isFill: boolean
  15. isStroke: boolean
  16. isSkew: boolean
  17. visible?: boolean
  18. stroke: string
  19. strokeWidth: number
  20. strokeLineJoin: "bevel" | "miter" | "round"
  21. }