EllipticalTransform Constructor (Size, Point, CompressTransformMode, InterpolationMode, Color) |
Creates a new instance of EllipticalTransform specifying radius, offset, mode,
transformMode and backColor.
Namespace:
Atalasoft.Imaging.ImageProcessing.Transforms
Assembly:
Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public EllipticalTransform(
Size radius,
Point offset,
CompressTransformMode mode,
InterpolationMode transformMode,
Color backColor
)
Public Sub New (
radius As Size,
offset As Point,
mode As CompressTransformMode,
transformMode As InterpolationMode,
backColor As Color
)
Parameters
- radius
- Type: System.DrawingSize
The width and height of the ellipse. - offset
- Type: System.DrawingPoint
The offset position from the center of the image. - mode
- Type: Atalasoft.Imaging.ImageProcessing.TransformsCompressTransformMode
The type of CompressTransformMode used in this transform. - transformMode
- Type: Atalasoft.Imaging.ImageProcessingInterpolationMode
The InterpolationMode used for this transform. - backColor
- Type: System.DrawingColor
The background color to use for newly uncovered areas of the image.
Exceptions Exception | Condition |
---|
| Thrown if the radius size is smaller than 1x1. |
See Also