Enum MorphologyOperator
Namespace: Aspose.Svg.Builder
Assembly: Aspose.SVG.dll (25.5.0)
Specifies the type of morphological operation to be applied in SVG filters.
[ComVisible(true)]
public enum MorphologyOperator
Fields
Dilate = 1
Dilates the graphics, making the shapes larger and the edges more pronounced.
The ‘dilate’ operation is used to expand the edges of shapes within an image. This can be used to emphasize certain features, create bold effects, or prepare the image for further processing.
Erode = 0
Erodes the graphics, making the shapes smaller and the edges smoother.
The ’erode’ operation is used to contract the edges of shapes within an image. It is typically used to remove small imperfections or to simplify the overall structure of the graphics.
Remarks
This enumeration is used in the context of SVG filters to define the type of morphological operation. Morphological operations are used to process the shape and structure of elements in an image, typically for eroding or dilating the graphics.