PolygonTransform Constructor (Point, CompressTransformMode, InterpolationMode, Color) |
Creates a new instance of
PolygonTransform specifying points, 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 PolygonTransform(
Point[] points,
CompressTransformMode mode,
InterpolationMode transformMode,
Color backColor
)
Public Sub New (
points As Point(),
mode As CompressTransformMode,
transformMode As InterpolationMode,
backColor As Color
)
Parameters
- points
- Type: System.DrawingPoint
Array of points for the polygon. - mode
- Type: Atalasoft.Imaging.ImageProcessing.TransformsCompressTransformMode
The compress method to use on this transform. - transformMode
- Type: Atalasoft.Imaging.ImageProcessingInterpolationMode
Specifies the interpolation used with this transform. - backColor
- Type: System.DrawingColor
The background color to use for newly uncovered areas of the image.
Exceptions Exception | Condition |
---|
| Thrown if points is null. |
See Also