Skip to content

Type Alias: XdotOp

ts
type XdotOp = 
  | {
  ellipse: XdotRect;
  kind: "filled_ellipse" | "unfilled_ellipse";
}
  | {
  kind: "filled_polygon" | "unfilled_polygon";
  polygon: XdotPolyline;
}
  | {
  bezier: XdotPolyline;
  kind: "filled_bezier" | "unfilled_bezier";
}
  | {
  kind: "polyline";
  polyline: XdotPolyline;
}
  | {
  kind: "text";
  text: XdotText;
}
  | {
  color: string;
  kind: "fill_color" | "pen_color";
}
  | {
  gradColor: XdotColor;
  kind: "grad_fill_color" | "grad_pen_color";
}
  | {
  font: XdotFont;
  kind: "font";
}
  | {
  kind: "style";
  style: string;
}
  | {
  image: XdotImage;
  kind: "image";
}
  | {
  fontchar: number;
  kind: "fontchar";
};

Defined in: xdot/types.ts:108