Code samples for Crop.
Automatically generated by the Every Method demo.
// Automated test of Crop - Typical Values
// Crop - 10% x 10%
ImageEnView1.Proc.Crop( Rect( 32, 32, 289, 289 ), 0, ierBicubic );

// Automated test of Crop - Alpha Channel - Typical Values
// Crop - 10% x 10%
ImageEnView1.Proc.Crop( Rect( 32, 32, 289, 289 ), 0, ierBicubic );

// Automated test of Crop - 32-Bit RGBA - Typical Values
// Crop - 10% x 10%
ImageEnView1.Proc.Crop( Rect( 32, 32, 289, 289 ), 0, ierBicubic );

// Automated test of Crop - 1-bit - Typical Values
// Crop - 10% x 10%
ImageEnView1.Proc.Crop( Rect( 32, 32, 289, 289 ), 0, ierBicubic );

// Automated test of Crop (Shape) - Typical Values
// Shape Crop - Explosion - 0%
ImageEnView1.Proc.Crop( 0, 0, 400, 400, iesExplosion, clNone, false );

// Automated test of Crop (Shape) - Alpha Channel - Typical Values
// Shape Crop - Explosion - 0%
ImageEnView1.Proc.Crop( 0, 0, 400, 400, iesExplosion, clNone, false );

// Automated test of Crop (Shape) - 32-Bit RGBA - Typical Values
// Shape Crop - Explosion - 0%
ImageEnView1.Proc.Crop( 0, 0, 400, 400, iesExplosion, clNone, false );

// Automated test of Crop (Shape) - 1-bit - Typical Values
// Shape Crop - Explosion - 0%
ImageEnView1.Proc.Crop( 0, 0, 400, 400, iesExplosion, clNone, false );

// Automated test of Crop (Quadrilateral) - Typical Values
// Quadrilateral Crop - 10%,30%
ImageEnView1.Proc.Crop([ DPoint( 40, 40 ), DPoint( 400, 0 ), DPoint( 280, 280 ), DPoint( 0, 400 ) ]);

// Automated test of Crop (Quadrilateral) - Alpha Channel - Typical Values
// Quadrilateral Crop - 10%,30%
ImageEnView1.Proc.Crop([ DPoint( 40, 40 ), DPoint( 400, 0 ), DPoint( 280, 280 ), DPoint( 0, 400 ) ]);

// Automated test of Crop (Quadrilateral) - 32-Bit RGBA - Typical Values
// Quadrilateral Crop - 10%,30%
ImageEnView1.Proc.Crop([ DPoint( 40, 40 ), DPoint( 400, 0 ), DPoint( 280, 280 ), DPoint( 0, 400 ) ]);

// Automated test of Crop (Quadrilateral) - 1-bit - Typical Values
// Quadrilateral Crop - 10%,30%
ImageEnView1.Proc.Crop([ DPoint( 40, 40 ), DPoint( 400, 0 ), DPoint( 280, 280 ), DPoint( 0, 400 ) ]);

// Automated test of Crop (Perspective Fix) - Typical Values
// Perspective Fix Crop - 10%,1%
ImageEnView1.Proc.Crop([ DPoint( 40, 0 ), DPoint( 360, 0 ), DPoint( 396, 400 ), DPoint( 4, 400 ) ]);

// Automated test of Crop (Perspective Fix) - Alpha Channel - Typical Values
// Perspective Fix Crop - 10%,1%
ImageEnView1.Proc.Crop([ DPoint( 40, 0 ), DPoint( 360, 0 ), DPoint( 396, 400 ), DPoint( 4, 400 ) ]);

// Automated test of Crop (Perspective Fix) - 32-Bit RGBA - Typical Values
// Perspective Fix Crop - 10%,1%
ImageEnView1.Proc.Crop([ DPoint( 40, 0 ), DPoint( 360, 0 ), DPoint( 396, 400 ), DPoint( 4, 400 ) ]);

// Automated test of Crop (Perspective Fix) - 1-bit - Typical Values
// Perspective Fix Crop - 10%,1%
ImageEnView1.Proc.Crop([ DPoint( 40, 0 ), DPoint( 360, 0 ), DPoint( 396, 400 ), DPoint( 4, 400 ) ]);

// Automated test of Crop - Random Values
// Crop with 180 Rotation - 34% x 34%
ImageEnView1.Proc.Crop( Rect( 44, 44, 85, 85 ), 180, ierBicubic );

// Automated test of Crop - Alpha Channel - Random Values
// Crop with 180 Rotation - 34% x 34%
ImageEnView1.Proc.Crop( Rect( 44, 44, 85, 85 ), 180, ierBicubic );

// Automated test of Crop - 32-Bit RGBA - Random Values
// Crop with 180 Rotation - 34% x 34%
ImageEnView1.Proc.Crop( Rect( 44, 44, 85, 85 ), 180, ierBicubic );

// Automated test of Crop - 1-bit - Random Values
// Crop with 180 Rotation - 34% x 34%
ImageEnView1.Proc.Crop( Rect( 44, 44, 85, 85 ), 180, ierBicubic );

// Automated test of Crop (Shape) - Random Values
// Shape Crop - Dinosaur - 24%
ImageEnView1.Proc.Crop( 50, 50, 158, 158, iesDinosaur, clNone, true );

// Automated test of Crop (Shape) - Alpha Channel - Random Values
// Shape Crop - Dinosaur - 24%
ImageEnView1.Proc.Crop( 50, 50, 158, 158, iesDinosaur, clNone, true );

// Automated test of Crop (Shape) - 32-Bit RGBA - Random Values
// Shape Crop - Dinosaur - 24%
ImageEnView1.Proc.Crop( 50, 50, 158, 158, iesDinosaur, clNone, true );

// Automated test of Crop (Shape) - 1-bit - Random Values
// Shape Crop - Dinosaur - 24%
ImageEnView1.Proc.Crop( 50, 50, 158, 158, iesDinosaur, clNone, true );

// Automated test of Crop (Quadrilateral) - Random Values
// Quadrilateral Crop - 34%,42%
ImageEnView1.Proc.Crop([ DPoint( 136, 136 ), DPoint( 400, 0 ), DPoint( 232, 232 ), DPoint( 0, 400 ) ]);

// Automated test of Crop (Quadrilateral) - Alpha Channel - Random Values
// Quadrilateral Crop - 34%,42%
ImageEnView1.Proc.Crop([ DPoint( 136, 136 ), DPoint( 400, 0 ), DPoint( 232, 232 ), DPoint( 0, 400 ) ]);

// Automated test of Crop (Quadrilateral) - 32-Bit RGBA - Random Values
// Quadrilateral Crop - 34%,42%
ImageEnView1.Proc.Crop([ DPoint( 136, 136 ), DPoint( 400, 0 ), DPoint( 232, 232 ), DPoint( 0, 400 ) ]);

// Automated test of Crop (Quadrilateral) - 1-bit - Random Values
// Quadrilateral Crop - 34%,42%
ImageEnView1.Proc.Crop([ DPoint( 136, 136 ), DPoint( 400, 0 ), DPoint( 232, 232 ), DPoint( 0, 400 ) ]);

// Automated test of Crop (Perspective Fix) - Random Values
// Perspective Fix Crop - 34%,25%
ImageEnView1.Proc.Crop([ DPoint( 136, 0 ), DPoint( 264, 0 ), DPoint( 300, 400 ), DPoint( 100, 400 ) ]);

// Automated test of Crop (Perspective Fix) - Alpha Channel - Random Values
// Perspective Fix Crop - 34%,25%
ImageEnView1.Proc.Crop([ DPoint( 136, 0 ), DPoint( 264, 0 ), DPoint( 300, 400 ), DPoint( 100, 400 ) ]);

// Automated test of Crop (Perspective Fix) - 32-Bit RGBA - Random Values
// Perspective Fix Crop - 34%,25%
ImageEnView1.Proc.Crop([ DPoint( 136, 0 ), DPoint( 264, 0 ), DPoint( 300, 400 ), DPoint( 100, 400 ) ]);

// Automated test of Crop (Perspective Fix) - 1-bit - Random Values
// Perspective Fix Crop - 34%,25%
ImageEnView1.Proc.Crop([ DPoint( 136, 0 ), DPoint( 264, 0 ), DPoint( 300, 400 ), DPoint( 100, 400 ) ]);
