Trait InspectSample

pub trait InspectSample: GetBounds

Inspect the pixels in this image to determine where to crop some away

Associated Types

type Sample;

The type of pixel in this pixel grid.

Required Methods

fn inspect_sample(&self, local_index: Vec2<usize>) -> Self::Sample

Index is not in world coordinates, but within the data window. Position (0,0) always represents the top left pixel.

Implementors