Type Alias HatchFill

HatchFill: {
    color: string;
    id: string;
    isCustom?: boolean;
    label: string;
    name: HatchNames;
    rules: {
        angle?: number;
        lines?: HatchLine[];
        scale?: number;
        step?: number;
        strokeWidth?: number;
    };
}

Type declaration

  • color: string
  • id: string

    идентификатор каждой созданной штриховки, а не типа. Назначается динамически

  • OptionalisCustom?: boolean
  • label: string
  • name: HatchNames
  • rules: {
        angle?: number;
        lines?: HatchLine[];
        scale?: number;
        step?: number;
        strokeWidth?: number;
    }
    • Optionalangle?: number
    • Optionallines?: HatchLine[]
    • Optionalscale?: number
    • Optionalstep?: number
    • OptionalstrokeWidth?: number