import { DataType, IAttribute, Attributes, AttributeChangeOptions } from '@pilotlab/attributes'; import StyleElement from './styleElement'; export class StyleLine extends StyleElement { constructor(data?:(StyleLine | Attributes | Object | string)) { super(data); this.p_thickness = this.children.get('thickness', 0, DataType.NUMBER_DOUBLE, null, AttributeChangeOptions.zero); } get thickness():number { return this.p_thickness.value; } set thickness(value:number) { this.p_thickness.set(value, AttributeChangeOptions.save.durationZero); } protected p_thickness:IAttribute; } // End Class export default StyleLine;