scriptable-testlab
Version:
A lightweight, efficient tool designed to manage and update scripts for Scriptable.
27 lines (24 loc) • 683 B
TypeScript
import { AbsSFSymbol } from 'scriptable-abstract';
interface SFSymbolState {
name: string;
image: Image;
}
declare class MockSFSymbol extends AbsSFSymbol<SFSymbolState> {
constructor(name: string);
get name(): string;
applyFont(_font: Font): this;
applyThinWeight(): this;
applyUltraLightWeight(): this;
applyLightWeight(): this;
applyRegularWeight(): this;
applyMediumWeight(): this;
applySemiboldWeight(): this;
applyBoldWeight(): this;
applyHeavyWeight(): this;
applyBlackWeight(): this;
applySmallSize(): this;
applyMediumSize(): this;
applyLargeSize(): this;
toImage(): Image;
}
export { MockSFSymbol };