21 lines
876 B
TypeScript
21 lines
876 B
TypeScript
import DxfArrayScanner, { IGroup } from './DxfArrayScanner';
|
|
import { IEntity, IPoint } from './entities/geomtry';
|
|
/**
|
|
* Returns the truecolor value of the given AutoCad color index value
|
|
* @return {Number} truecolor value as a number
|
|
*/
|
|
export declare function getAcadColor(index: number): number;
|
|
/**
|
|
* Parses the 2D or 3D coordinate, vector, or point. When complete,
|
|
* the scanner remains on the last group of the coordinate.
|
|
* @param {*} scanner
|
|
*/
|
|
export declare function parsePoint(scanner: DxfArrayScanner): IPoint;
|
|
/**
|
|
* Attempts to parse codes common to all entities. Returns true if the group
|
|
* was handled by this function.
|
|
* @param {*} entity - the entity currently being parsed
|
|
* @param {*} curr - the current group being parsed
|
|
*/
|
|
export declare function checkCommonEntityProperties(entity: IEntity, curr: IGroup, scanner: DxfArrayScanner): boolean;
|