Appearance
Length
Type: Object
A linear measurement with preserved unit provenance. Equality and ordering compare by canonical millimetres, but the original unit is round-tripped through the API and storage.
Fields
| Name | Type | Args | Description | Deprecated |
|---|---|---|---|---|
| centimeters | Float! | The value re-expressed in centimetres. | ||
| inches | Float! | The value re-expressed in inches. | ||
| micrometers | Float! | The value re-expressed in micrometres. | ||
| millimeters | Float! | The value re-expressed in millimetres. This is the canonical unit for arithmetic-equivalence. | ||
| points | Float! | The value re-expressed in PostScript / DTP points. | ||
| raw | Float! | The stored numeric value, in unit. Use this together with unit if you need to render in the user's original unit. | ||
| unit | LengthUnit! | The unit the value was originally supplied in. | ||
| value | Float! | unit: LengthUnit! | The value re-expressed in any supported unit. Convenience for clients that want to honour a user-chosen display preference. |