UNPKG

332 BTypeScriptView Raw
1import { AttributeCfg } from '../interface';
2import Attribute from './base';
3export declare type Value = number | string;
4export declare type MappingValue = Value[] | Value;
5export default class Position extends Attribute {
6 constructor(cfg: AttributeCfg);
7 mapping(x: MappingValue, y: MappingValue): (number | number[])[];
8}