SBrush.d.ts 443 B

123456789101112131415
  1. import { SBrushType } from "./enums/SBrushType";
  2. import { SColor, SGradient } from "./";
  3. export declare class SBrush {
  4. type: SBrushType;
  5. private _color;
  6. get color(): SColor;
  7. set color(value: SColor);
  8. private _gradient;
  9. get gradient(): SGradient | null;
  10. set gradient(value: SGradient | null);
  11. constructor();
  12. constructor(brush: SBrush);
  13. constructor(color: SColor);
  14. constructor(gradient: SGradient);
  15. }