UNPKG

ducjs

Version:

The duc 2D CAD file format is a cornerstone of our advanced design system, conceived to cater to professionals seeking precision and efficiency in their design work.

25 lines (24 loc) 1.29 kB
import * as flatbuffers from 'flatbuffers'; import { DucPoint } from '../duc/duc-point'; export declare class DucView { bb: flatbuffers.ByteBuffer | null; bb_pos: number; __init(i: number, bb: flatbuffers.ByteBuffer): DucView; static getRootAsDucView(bb: flatbuffers.ByteBuffer, obj?: DucView): DucView; static getSizePrefixedRootAsDucView(bb: flatbuffers.ByteBuffer, obj?: DucView): DucView; scrollX(): number; scrollY(): number; zoom(): number; twistAngle(): number; centerPoint(obj?: DucPoint): DucPoint | null; scope(): string | null; scope(optionalEncoding: flatbuffers.Encoding): string | Uint8Array | null; static startDucView(builder: flatbuffers.Builder): void; static addScrollX(builder: flatbuffers.Builder, scrollX: number): void; static addScrollY(builder: flatbuffers.Builder, scrollY: number): void; static addZoom(builder: flatbuffers.Builder, zoom: number): void; static addTwistAngle(builder: flatbuffers.Builder, twistAngle: number): void; static addCenterPoint(builder: flatbuffers.Builder, centerPointOffset: flatbuffers.Offset): void; static addScope(builder: flatbuffers.Builder, scopeOffset: flatbuffers.Offset): void; static endDucView(builder: flatbuffers.Builder): flatbuffers.Offset; }