PsPoint.create constructor
Creates a Pnt point, storing unit floats when unit is given.
Implementation
factory PsPoint.create({
required double horizontal,
required double vertical,
String? unit,
}) => PsPoint.fromDescriptor(
PsDescriptor(
name: '\u0000',
classId: 'Pnt ',
items: [
PsDescriptorItem(key: 'Hrzn', value: _number(horizontal, unit)),
PsDescriptorItem(key: 'Vrtc', value: _number(vertical, unit)),
],
),
);