import { AnimationConfig, GradualStyleConfig, IconStyleConfig, ILineType, IStrokeType } from "./BaseStyle"; /** * 描边样式 */ export default class StrokeStyle { constructor(c?: StrokeStyle) { c && Object.assign(this, c); } strokeType?: IStrokeType = "none"; opacity? = 1; size? = 0; // 轮廓粗细 lineType?: ILineType = "solid"; dashArray?: [number, number] = [0, 0]; icon?: IconStyleConfig; color?: string = "#000000"; gradual?: GradualStyleConfig; animate?: AnimationConfig; }