Instantiates a new DilateOptions object setting the specified values.
Syntax
Parameters
- direction
- The direction to apply the dilation. Pixels will be extended in these directions.
Typically, this is set to a single direction, a pair of directions, or All.
- amount
- The distance to extend pixels.
- onlyDiagonal
- True if pixels should only be extended in a diagonal direction. Typically, this is set to false. It is an error to set this to true if Direction is not set to a pair of adjacent directions.
See Also