amount | Gets and sets the distance to extend pixels. |
direction | Gets and sets the directions to apply the dilation. Pixels will be extended in these directions. |
onlyDiagonal | Gets and sets a flag for whether pixels should only be extended in a diagonal direction. |
