webgl.d.ts 499 B

1234567891011121314151617181920
  1. export class WebGLContext {
  2. constructor({ enable }: {
  3. enable?: boolean | undefined;
  4. });
  5. _enabled: boolean;
  6. get isEnabled(): any;
  7. composeSMask({ layer, mask, properties }: {
  8. layer: any;
  9. mask: any;
  10. properties: any;
  11. }): any;
  12. drawFigures({ width, height, backgroundColor, figures, context }: {
  13. width: any;
  14. height: any;
  15. backgroundColor: any;
  16. figures: any;
  17. context: any;
  18. }): any;
  19. clear(): void;
  20. }