chrome-devtools-frontend
Version:
Chrome DevTools UI
42 lines (34 loc) • 1.34 kB
text/typescript
// Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import type * as Protocol from '../../generated/protocol.js';
import type * as Platform from '../platform/platform.js';
export class CSSFontFace {
readonly
readonly
readonly
readonly
readonly
constructor(payload: Protocol.CSS.FontFace) {
this.
this.
this.
this.
this.
for (const axis of this.
this.
}
}
getFontFamily(): string {
return this.
}
getSrc(): Platform.DevToolsPath.UrlString {
return this.
}
getFontDisplay(): string {
return this.
}
getVariationAxisByTag(tag: string): Protocol.CSS.FontVariationAxis|undefined {
return this.
}
}