Class CropEffect
- Namespace
- PaintDotNet.Direct2D1.Effects
- Assembly
- PaintDotNet.Windows.Core.dll
Use the crop effect to output a specified region of an image.
For more information, see Crop effect
public sealed class CropEffect : DeviceEffect<CropEffect.Props>, ISerializable, IDeviceEffect, IDeviceImage, IDirect2DResource, IFactoryProperty, IDeviceEffectProperties, IObjectRef, IIsDisposed, IDisposable, IInternalImpl
- Inheritance
-
CropEffect
- Implements
- Inherited Members
- Extension Methods
Remarks
This effect cannot be used to expand the size of an image. To expand the size of an image, use BorderEffect2 with an EdgeMode of Transparent and then apply the CropEffect to that.