• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

excaliburjs / Excalibur / 14804036802

02 May 2025 09:58PM UTC coverage: 5.927% (-83.4%) from 89.28%
14804036802

Pull #3404

github

web-flow
Merge 5c103d7f8 into 0f2ccaeb2
Pull Request #3404: feat: added Graph module to Math

234 of 8383 branches covered (2.79%)

229 of 246 new or added lines in 1 file covered. (93.09%)

13145 existing lines in 208 files now uncovered.

934 of 15759 relevant lines covered (5.93%)

4.72 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

42.86
/src/engine/Graphics/Filtering.ts
1
/**
2
 * Describes the different image filtering modes
3
 */
4
export enum ImageFiltering {
1✔
5
  /**
6
   * Pixel is useful when you do not want smoothing aka antialiasing applied to your graphics.
7
   *
8
   * Useful for Pixel art aesthetics.
9
   */
10
  Pixel = 'Pixel',
1✔
11

12
  /**
13
   * Blended is useful when you have high resolution artwork and would like it blended and smoothed
14
   */
15
  Blended = 'Blended'
1✔
16
}
17

18
/**
19
 * Parse the image filtering attribute value, if it doesn't match returns null
20
 */
21
export function parseImageFiltering(val: string): ImageFiltering | undefined {
UNCOV
22
  switch (val) {
×
23
    case ImageFiltering.Pixel:
×
UNCOV
24
      return ImageFiltering.Pixel;
×
25
    case ImageFiltering.Blended:
UNCOV
26
      return ImageFiltering.Blended;
×
27
    default:
UNCOV
28
      return undefined;
×
29
  }
30
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc