UNPKG

scandit-web-datacapture-core

Version:

Scandit Data Capture SDK for the Web

28 lines (25 loc) 698 B
/// <reference types="emscripten" /> import { Color } from './Common.js'; import { Serializable } from './private/Serializable.js'; interface BrushJSON { fill: { color: string; }; stroke: { color: string; width: number; }; } declare class Brush implements Serializable<BrushJSON> { private readonly fill; private readonly stroke; constructor(); constructor(fillColor: Color, strokeColor: Color, strokeWidth: number); static get transparent(): Brush; get fillColor(): Color; get strokeColor(): Color; get strokeWidth(): number; private static areEquals; toJSONObject(): BrushJSON; } export { Brush, type BrushJSON };