The RegularSampler generates multiple samples per pixel, distributed regularly.

Inheritance

Constructors

RegularSampler(int xSamples, int ySamples)

Creates a new RegularSampler, which generates xSamples*ySamples samples per pixel.

Properties

hashCode → int

Get a hash code for this object.

read-only, inherited
runtimeType → Type

A representation of the runtime type of the object.

read-only, inherited
xSamples → int

read / write
ySamples → int

read / write

Operators

operator ==(other) → bool

The equality operator.

inherited

Methods

getSamples(int x, int y) → List<Sample>

Returns a collection of samples for the given pixel.

noSuchMethod(Invocation invocation) → dynamic

Invoked when a non-existent method or property is accessed.

inherited
toString() → String

Returns a string representation of this object.

inherited