interlinked/source/gegl/tile-glass.ts

25 lines
529 B
TypeScript
Raw Normal View History

2022-03-11 21:11:50 +00:00
import {BaseOperation} from './base.js';
export interface TileGlassParameters {
tileHeight: number;
tileWidth: number;
}
export class TileGlass extends BaseOperation<TileGlassParameters> {
public static default: TileGlassParameters = {
tileHeight: 25,
tileWidth: 25,
};
public get default() {
return TileGlass.default;
}
public appendCrop = false;
public name = 'gegl:tile-glass';
constructor(parameters?: Partial<TileGlassParameters>) {
super({...TileGlass.default, ...parameters});
}
}