wgo
Version:
JavaScript library for game of Go
10 lines (9 loc) • 353 B
TypeScript
import { Color } from '../types';
import MarkupBoardObject from './MarkupBoardObject';
/**
* Board label object is special type of markup object, which renders text on the field.
*/
export default class LabelBoardObject extends MarkupBoardObject {
text: string;
constructor(text: string, x?: number, y?: number, variation?: Color);
}