csharp
public readonly record struct ImageOverlaySegmentOne line segment drawn over an image, in image space.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
⚠ Texels, not UVs and not pixels. UVs would mean a UV island's outline was right and a brush's footprint was not — a paint stroke is measured in texels and a stroke expressed as a fraction would change shape on a non-square image. Screen pixels would mean every segment had to be recomputed on every pan and every zoom, which is exactly the arithmetic the control already does once.
Fields and properties (2)
Methods (1)
Used by (3)
- ImageViewVixen.Ui.Controls.Advanced
- ImageViewTestsVixen.Ui.Controls.Advanced.Tests
- PaintUvViewTestsVixen.Editor.Texturing.Tests